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