public static class CreateInstancePoolPlacementConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateInstancePoolPlacementConfigurationDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain to place instances.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic CreateInstancePoolPlacementConfigurationDetails.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 CreateInstancePoolPlacementConfigurationDetails.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 CreateInstancePoolPlacementConfigurationDetails.Builder primaryVnicSubnets(InstancePoolPlacementPrimarySubnet primaryVnicSubnets)
public CreateInstancePoolPlacementConfigurationDetails.Builder secondaryVnicSubnets(List<InstancePoolPlacementSecondaryVnicSubnet> secondaryVnicSubnets)
The set of secondary VNIC data for instances in the pool.
secondaryVnicSubnets
- the value to setpublic CreateInstancePoolPlacementConfigurationDetails build()
Copyright © 2016–2024. All rights reserved.