Class OccCustomerGroup.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.OccCustomerGroup.Builder
 
- 
- Enclosing class:
- OccCustomerGroup
 
 public static class OccCustomerGroup.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OccCustomerGroupbuild()OccCustomerGroup.BuildercompartmentId(String compartmentId)The OCID of the tenancy containing the customer group.OccCustomerGroup.Buildercopy(OccCustomerGroup model)OccCustomerGroup.BuildercustomersList(List<OccCustomer> customersList)A list containing all the customers that belong to this customer groupOccCustomerGroup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OccCustomerGroup.Builderdescription(String description)The description about the customer group.OccCustomerGroup.BuilderdisplayName(String displayName)The display name of the customer group.OccCustomerGroup.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OccCustomerGroup.Builderid(String id)The OCID of the customer group.OccCustomerGroup.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.OccCustomerGroup.BuilderlifecycleState(OccCustomerGroup.LifecycleState lifecycleState)The current lifecycle state of the resource.OccCustomerGroup.Builderstatus(OccCustomerGroup.Status status)To determine whether the customer group is enabled/disabled.OccCustomerGroup.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OccCustomerGroup.BuildertimeCreated(Date timeCreated)The time when the customer group was created.OccCustomerGroup.BuildertimeUpdated(Date timeUpdated)The time when the customer group was last updated.
 
- 
- 
- 
Method Detail- 
idpublic OccCustomerGroup.Builder id(String id) The OCID of the customer group.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OccCustomerGroup.Builder compartmentId(String compartmentId) The OCID of the tenancy containing the customer group.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic OccCustomerGroup.Builder displayName(String displayName) The display name of the customer group.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic OccCustomerGroup.Builder description(String description) The description about the customer group.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic OccCustomerGroup.Builder timeCreated(Date timeCreated) The time when the customer group was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic OccCustomerGroup.Builder timeUpdated(Date timeUpdated) The time when the customer group was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
statuspublic OccCustomerGroup.Builder status(OccCustomerGroup.Status status) To determine whether the customer group is enabled/disabled.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic OccCustomerGroup.Builder lifecycleState(OccCustomerGroup.LifecycleState lifecycleState) The current lifecycle state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
customersListpublic OccCustomerGroup.Builder customersList(List<OccCustomer> customersList) A list containing all the customers that belong to this customer group- Parameters:
- customersList- the value to set
- Returns:
- this builder
 
 - 
buildpublic OccCustomerGroup build() 
 - 
copypublic OccCustomerGroup.Builder copy(OccCustomerGroup model) 
 
- 
 
-