public static class ClusterPlacementGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ClusterPlacementGroup.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the cluster placement group.
|
ClusterPlacementGroup |
build() |
ClusterPlacementGroup.Builder |
capabilities(CapabilitiesCollection capabilities) |
ClusterPlacementGroup.Builder |
clusterPlacementGroupType(ClusterPlacementGroupType clusterPlacementGroupType)
The type of cluster placement group.
|
ClusterPlacementGroup.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the cluster placement group.
|
ClusterPlacementGroup.Builder |
copy(ClusterPlacementGroup model) |
ClusterPlacementGroup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ClusterPlacementGroup.Builder |
description(String description)
A description of the cluster placement group.
|
ClusterPlacementGroup.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
ClusterPlacementGroup.Builder |
id(String id)
The OCID
of the cluster placement group.
|
ClusterPlacementGroup.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
ClusterPlacementGroup.Builder |
lifecycleState(ClusterPlacementGroup.LifecycleState lifecycleState)
The current state of the ClusterPlacementGroup.
|
ClusterPlacementGroup.Builder |
name(String name)
The user-friendly name of the cluster placement group.
|
ClusterPlacementGroup.Builder |
placementInstruction(PlacementInstructionDetails placementInstruction) |
ClusterPlacementGroup.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ClusterPlacementGroup.Builder |
timeCreated(Date timeCreated)
The time the cluster placement group was created, expressed in RFC
3339 timestamp format.
|
ClusterPlacementGroup.Builder |
timeUpdated(Date timeUpdated)
The time the cluster placement group was updated, expressed in RFC
3339 timestamp format.
|
public ClusterPlacementGroup.Builder id(String id)
The OCID of the cluster placement group.
id
- the value to setpublic 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.
name
- the value to setpublic ClusterPlacementGroup.Builder description(String description)
A description of the cluster placement group.
description
- the value to setpublic ClusterPlacementGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the cluster placement group.
compartmentId
- the value to setpublic ClusterPlacementGroup.Builder availabilityDomain(String availabilityDomain)
The availability domain of the cluster placement group.
availabilityDomain
- the value to setpublic ClusterPlacementGroup.Builder clusterPlacementGroupType(ClusterPlacementGroupType clusterPlacementGroupType)
The type of cluster placement group.
clusterPlacementGroupType
- the value to setpublic ClusterPlacementGroup.Builder timeCreated(Date timeCreated)
The time the cluster placement group was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic ClusterPlacementGroup.Builder timeUpdated(Date timeUpdated)
The time the cluster placement group was updated, expressed in RFC 3339 timestamp format.
timeUpdated
- the value to setpublic ClusterPlacementGroup.Builder lifecycleState(ClusterPlacementGroup.LifecycleState lifecycleState)
The current state of the ClusterPlacementGroup.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic ClusterPlacementGroup.Builder placementInstruction(PlacementInstructionDetails placementInstruction)
public ClusterPlacementGroup.Builder capabilities(CapabilitiesCollection capabilities)
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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ClusterPlacementGroup build()
public ClusterPlacementGroup.Builder copy(ClusterPlacementGroup model)
Copyright © 2016–2024. All rights reserved.