Class OccCustomerGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccCustomerGroupSummary.Builder
-
- Enclosing class:
- OccCustomerGroupSummary
public static class OccCustomerGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public OccCustomerGroupSummary.Builder id(String id)
The OCID of the customer group.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public OccCustomerGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the customer group.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public OccCustomerGroupSummary.Builder displayName(String displayName)
The display name of the customer group.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public OccCustomerGroupSummary.Builder description(String description)
The description about the customer group.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public OccCustomerGroupSummary.Builder timeCreated(Date timeCreated)
The time when the customer group was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public OccCustomerGroupSummary.Builder timeUpdated(Date timeUpdated)
The time when the customer group was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
status
public OccCustomerGroupSummary.Builder status(OccCustomerGroup.Status status)
The status (enabled/disabled) of the customer group.- Parameters:
status- the value to set- Returns:
- this builder
-
lifecycleState
public OccCustomerGroupSummary.Builder lifecycleState(OccCustomerGroup.LifecycleState lifecycleState)
The current lifecycle state of the customer group.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public OccCustomerGroupSummary build()
-
copy
public OccCustomerGroupSummary.Builder copy(OccCustomerGroupSummary model)
-
-