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