public static class OccCustomerGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OccCustomerGroup |
build() |
OccCustomerGroup.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing the customer group.
|
OccCustomerGroup.Builder |
copy(OccCustomerGroup model) |
OccCustomerGroup.Builder |
customersList(List<OccCustomer> customersList)
A list containing all the customers that belong to this customer group
|
OccCustomerGroup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OccCustomerGroup.Builder |
description(String description)
The description about the customer group.
|
OccCustomerGroup.Builder |
displayName(String displayName)
The display name of the customer group.
|
OccCustomerGroup.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OccCustomerGroup.Builder |
id(String id)
The OCID of the customer group.
|
OccCustomerGroup.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
OccCustomerGroup.Builder |
lifecycleState(OccCustomerGroup.LifecycleState lifecycleState)
The current lifecycle state of the resource.
|
OccCustomerGroup.Builder |
status(OccCustomerGroup.Status status)
To determine whether the customer group is enabled/disabled.
|
OccCustomerGroup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
OccCustomerGroup.Builder |
timeCreated(Date timeCreated)
The time when the customer group was created.
|
OccCustomerGroup.Builder |
timeUpdated(Date timeUpdated)
The time when the customer group was last updated.
|
public OccCustomerGroup.Builder id(String id)
The OCID of the customer group.
id
- the value to setpublic OccCustomerGroup.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the customer group.
compartmentId
- the value to setpublic OccCustomerGroup.Builder displayName(String displayName)
The display name of the customer group.
displayName
- the value to setpublic OccCustomerGroup.Builder description(String description)
The description about the customer group.
description
- the value to setpublic OccCustomerGroup.Builder timeCreated(Date timeCreated)
The time when the customer group was created.
timeCreated
- the value to setpublic OccCustomerGroup.Builder timeUpdated(Date timeUpdated)
The time when the customer group was last updated.
timeUpdated
- the value to setpublic OccCustomerGroup.Builder status(OccCustomerGroup.Status status)
To determine whether the customer group is enabled/disabled.
status
- the value to setpublic OccCustomerGroup.Builder lifecycleState(OccCustomerGroup.LifecycleState lifecycleState)
The current lifecycle state of the resource.
lifecycleState
- the value to setpublic OccCustomerGroup.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
lifecycleDetails
- the value to setpublic OccCustomerGroup.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic OccCustomerGroup.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic OccCustomerGroup.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic OccCustomerGroup.Builder customersList(List<OccCustomer> customersList)
A list containing all the customers that belong to this customer group
customersList
- the value to setpublic OccCustomerGroup build()
public OccCustomerGroup.Builder copy(OccCustomerGroup model)
Copyright © 2016–2024. All rights reserved.