Class CreateOccCustomerGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.CreateOccCustomerGroupDetails.Builder
-
- Enclosing class:
- CreateOccCustomerGroupDetails
public static class CreateOccCustomerGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOccCustomerGroupDetails
build()
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.CreateOccCustomerGroupDetails.Builder
copy(CreateOccCustomerGroupDetails model)
CreateOccCustomerGroupDetails.Builder
customersList(List<CreateOccCustomerDetails> customersList)
A list containing all the customers that belong to this customer group.CreateOccCustomerGroupDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateOccCustomerGroupDetails.Builder
description(String description)
A description about the customer group.CreateOccCustomerGroupDetails.Builder
displayName(String displayName)
The name of the customer group.CreateOccCustomerGroupDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateOccCustomerGroupDetails.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.CreateOccCustomerGroupDetails.Builder
status(CreateOccCustomerGroupDetails.Status status)
To determine whether the customer group is enabled/disabled.
-
-
-
Method Detail
-
compartmentId
public 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
-
displayName
public CreateOccCustomerGroupDetails.Builder displayName(String displayName)
The name of the customer group.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateOccCustomerGroupDetails.Builder description(String description)
A description about the customer group.- Parameters:
description
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
lifecycleDetails
public 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
-
status
public CreateOccCustomerGroupDetails.Builder status(CreateOccCustomerGroupDetails.Status status)
To determine whether the customer group is enabled/disabled.- Parameters:
status
- the value to set- Returns:
- this builder
-
customersList
public 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
-
build
public CreateOccCustomerGroupDetails build()
-
copy
public CreateOccCustomerGroupDetails.Builder copy(CreateOccCustomerGroupDetails model)
-
-