public static class OccCustomerGroupSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OccCustomerGroupSummary |
build() |
OccCustomerGroupSummary.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing the customer group.
|
OccCustomerGroupSummary.Builder |
copy(OccCustomerGroupSummary model) |
OccCustomerGroupSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
OccCustomerGroupSummary.Builder |
description(String description)
The description about the customer group.
|
OccCustomerGroupSummary.Builder |
displayName(String displayName)
The display name of the customer group.
|
OccCustomerGroupSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
OccCustomerGroupSummary.Builder |
id(String id)
The OCID of the customer group.
|
OccCustomerGroupSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
OccCustomerGroupSummary.Builder |
lifecycleState(OccCustomerGroup.LifecycleState lifecycleState)
The current lifecycle state of the customer group.
|
OccCustomerGroupSummary.Builder |
status(OccCustomerGroup.Status status)
The status (enabled/disabled) of the customer group.
|
OccCustomerGroupSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
OccCustomerGroupSummary.Builder |
timeCreated(Date timeCreated)
The time when the customer group was created.
|
OccCustomerGroupSummary.Builder |
timeUpdated(Date timeUpdated)
The time when the customer group was last updated.
|
public OccCustomerGroupSummary.Builder id(String id)
The OCID of the customer group.
id
- the value to setpublic OccCustomerGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the customer group.
compartmentId
- the value to setpublic OccCustomerGroupSummary.Builder displayName(String displayName)
The display name of the customer group.
displayName
- the value to setpublic OccCustomerGroupSummary.Builder description(String description)
The description about the customer group.
description
- the value to setpublic OccCustomerGroupSummary.Builder timeCreated(Date timeCreated)
The time when the customer group was created.
timeCreated
- the value to setpublic OccCustomerGroupSummary.Builder timeUpdated(Date timeUpdated)
The time when the customer group was last updated.
timeUpdated
- the value to setpublic OccCustomerGroupSummary.Builder status(OccCustomerGroup.Status status)
The status (enabled/disabled) of the customer group.
status
- the value to setpublic OccCustomerGroupSummary.Builder lifecycleState(OccCustomerGroup.LifecycleState lifecycleState)
The current lifecycle state of the customer group.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic OccCustomerGroupSummary build()
public OccCustomerGroupSummary.Builder copy(OccCustomerGroupSummary model)
Copyright © 2016–2024. All rights reserved.