Class CreateOccCustomerGroupDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.CreateOccCustomerGroupDetails.Builder
 
- 
- Enclosing class:
- CreateOccCustomerGroupDetails
 
 public static class CreateOccCustomerGroupDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccCustomerGroupDetailsbuild()CreateOccCustomerGroupDetails.BuildercompartmentId(String compartmentId)Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.CreateOccCustomerGroupDetails.Buildercopy(CreateOccCustomerGroupDetails model)CreateOccCustomerGroupDetails.BuildercustomersList(List<CreateOccCustomerDetails> customersList)A list containing all the customers that belong to this customer group.CreateOccCustomerGroupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateOccCustomerGroupDetails.Builderdescription(String description)A description about the customer group.CreateOccCustomerGroupDetails.BuilderdisplayName(String displayName)The name of the customer group.CreateOccCustomerGroupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateOccCustomerGroupDetails.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.CreateOccCustomerGroupDetails.Builderstatus(CreateOccCustomerGroupDetails.Status status)To determine whether the customer group is enabled/disabled.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateOccCustomerGroupDetails.Builder compartmentId(String compartmentId) Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateOccCustomerGroupDetails.Builder displayName(String displayName) The name of the customer group.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CreateOccCustomerGroupDetails.Builder description(String description) A description about the customer group.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateOccCustomerGroupDetails.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 CreateOccCustomerGroupDetails.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
 
 - 
lifecycleDetailspublic CreateOccCustomerGroupDetails.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
 
 - 
statuspublic CreateOccCustomerGroupDetails.Builder status(CreateOccCustomerGroupDetails.Status status) To determine whether the customer group is enabled/disabled.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
customersListpublic CreateOccCustomerGroupDetails.Builder customersList(List<CreateOccCustomerDetails> customersList) A list containing all the customers that belong to this customer group.- Parameters:
- customersList- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateOccCustomerGroupDetails build() 
 - 
copypublic CreateOccCustomerGroupDetails.Builder copy(CreateOccCustomerGroupDetails model) 
 
- 
 
-