public static class CreateOccCustomerGroupDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
compartmentId
- the value to setpublic CreateOccCustomerGroupDetails.Builder displayName(String displayName)
The name of the customer group.
displayName
- the value to setpublic CreateOccCustomerGroupDetails.Builder description(String description)
A description about the customer group.
description
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic CreateOccCustomerGroupDetails.Builder status(CreateOccCustomerGroupDetails.Status status)
To determine whether the customer group is enabled/disabled.
status
- the value to setpublic CreateOccCustomerGroupDetails.Builder customersList(List<CreateOccCustomerDetails> customersList)
A list containing all the customers that belong to this customer group.
customersList
- the value to setpublic CreateOccCustomerGroupDetails build()
public CreateOccCustomerGroupDetails.Builder copy(CreateOccCustomerGroupDetails model)
Copyright © 2016–2024. All rights reserved.