Package com.oracle.bmc.core.model
Class CreateComputeHostGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateComputeHostGroupDetails.Builder
-
- Enclosing class:
- CreateComputeHostGroupDetails
public static class CreateComputeHostGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
availabilityDomain
public CreateComputeHostGroupDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain of a host group.Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
displayName
public CreateComputeHostGroupDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public CreateComputeHostGroupDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains host group.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
configurations
public CreateComputeHostGroupDetails.Builder configurations(List<HostGroupConfiguration> configurations)
A list of HostGroupConfiguration objects- Parameters:
configurations- the value to set- Returns:
- this builder
-
isTargetedPlacementRequired
public CreateComputeHostGroupDetails.Builder isTargetedPlacementRequired(Boolean isTargetedPlacementRequired)
A flag that allows customers to restrict placement for hosts attached to the group.If true, the only way to place on hosts is to target the specific host group.
- Parameters:
isTargetedPlacementRequired- the value to set- Returns:
- this builder
-
definedTags
public CreateComputeHostGroupDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
freeformTags
public CreateComputeHostGroupDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
build
public CreateComputeHostGroupDetails build()
-
copy
public CreateComputeHostGroupDetails.Builder copy(CreateComputeHostGroupDetails model)
-
-