Class ClusterPlacementGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.clusterplacementgroups.model.ClusterPlacementGroupSummary.Builder
-
- Enclosing class:
- ClusterPlacementGroupSummary
public static class ClusterPlacementGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterPlacementGroupSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain of the cluster placement group.ClusterPlacementGroupSummarybuild()ClusterPlacementGroupSummary.BuilderclusterPlacementGroupType(ClusterPlacementGroupType clusterPlacementGroupType)The type of cluster placement group.ClusterPlacementGroupSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the cluster placement group.ClusterPlacementGroupSummary.Buildercopy(ClusterPlacementGroupSummary model)ClusterPlacementGroupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ClusterPlacementGroupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.ClusterPlacementGroupSummary.Builderid(String id)The OCID of the cluster placement group.ClusterPlacementGroupSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.ClusterPlacementGroupSummary.BuilderlifecycleState(ClusterPlacementGroup.LifecycleState lifecycleState)The current state of the cluster placement group.ClusterPlacementGroupSummary.Buildername(String name)The friendly name of the cluster placement group.ClusterPlacementGroupSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ClusterPlacementGroupSummary.BuildertimeCreated(Date timeCreated)The time the cluster placement group was created, expressed in RFC 3339 timestamp format.ClusterPlacementGroupSummary.BuildertimeUpdated(Date timeUpdated)The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public ClusterPlacementGroupSummary.Builder id(String id)
The OCID of the cluster placement group.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public ClusterPlacementGroupSummary.Builder name(String name)
The friendly name of the cluster placement group.- Parameters:
name- the value to set- Returns:
- this builder
-
compartmentId
public ClusterPlacementGroupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the cluster placement group.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
availabilityDomain
public ClusterPlacementGroupSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain of the cluster placement group.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
clusterPlacementGroupType
public ClusterPlacementGroupSummary.Builder clusterPlacementGroupType(ClusterPlacementGroupType clusterPlacementGroupType)
The type of cluster placement group.- Parameters:
clusterPlacementGroupType- the value to set- Returns:
- this builder
-
timeCreated
public ClusterPlacementGroupSummary.Builder timeCreated(Date timeCreated)
The time the cluster placement group was created, expressed in RFC 3339 timestamp format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ClusterPlacementGroupSummary.Builder timeUpdated(Date timeUpdated)
The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public ClusterPlacementGroupSummary.Builder lifecycleState(ClusterPlacementGroup.LifecycleState lifecycleState)
The current state of the cluster placement group.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ClusterPlacementGroupSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, lifecycle details for a resource in a Failed state might include information to act on.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public ClusterPlacementGroupSummary.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 ClusterPlacementGroupSummary.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 ClusterPlacementGroupSummary.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 ClusterPlacementGroupSummary build()
-
copy
public ClusterPlacementGroupSummary.Builder copy(ClusterPlacementGroupSummary model)
-
-