public static class InstancePoolPlacementConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstancePoolPlacementConfiguration.Builder |
availabilityDomain(String availabilityDomain)
The availability domain to place instances.
|
InstancePoolPlacementConfiguration |
build() |
InstancePoolPlacementConfiguration.Builder |
copy(InstancePoolPlacementConfiguration model) |
InstancePoolPlacementConfiguration.Builder |
faultDomains(List<String> faultDomains)
The fault domains to place instances.
|
InstancePoolPlacementConfiguration.Builder |
primarySubnetId(String primarySubnetId)
The OCID
of the primary subnet in which to place instances.
|
InstancePoolPlacementConfiguration.Builder |
primaryVnicSubnets(InstancePoolPlacementPrimarySubnet primaryVnicSubnets) |
InstancePoolPlacementConfiguration.Builder |
secondaryVnicSubnets(List<InstancePoolPlacementSecondaryVnicSubnet> secondaryVnicSubnets)
The set of secondary VNIC data for instances in the pool.
|
public InstancePoolPlacementConfiguration.Builder availabilityDomain(String availabilityDomain)
The availability domain to place instances.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic InstancePoolPlacementConfiguration.Builder primarySubnetId(String primarySubnetId)
The OCID
of the primary subnet in which to place instances. This field is deprecated. Use primaryVnicSubnets
instead to set VNIC data for instances in the pool.
primarySubnetId
- the value to setpublic InstancePoolPlacementConfiguration.Builder faultDomains(List<String> faultDomains)
The fault domains to place instances.
If you don't provide any values, the system makes a best effort to distribute instances across all fault domains based on capacity.
To distribute the instances evenly across selected fault domains, provide a set of fault domains. For example, you might want instances to be evenly distributed if your applications require high availability.
To get a list of fault domains, use the listFaultDomains
operation in the Identity
and Access Management Service API.
Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
faultDomains
- the value to setpublic InstancePoolPlacementConfiguration.Builder primaryVnicSubnets(InstancePoolPlacementPrimarySubnet primaryVnicSubnets)
public InstancePoolPlacementConfiguration.Builder secondaryVnicSubnets(List<InstancePoolPlacementSecondaryVnicSubnet> secondaryVnicSubnets)
The set of secondary VNIC data for instances in the pool.
secondaryVnicSubnets
- the value to setpublic InstancePoolPlacementConfiguration build()
public InstancePoolPlacementConfiguration.Builder copy(InstancePoolPlacementConfiguration model)
Copyright © 2016–2024. All rights reserved.