Package com.oracle.bmc.core.model
Class InstancePoolPlacementConfiguration.Builder
- java.lang.Object
 - 
- com.oracle.bmc.core.model.InstancePoolPlacementConfiguration.Builder
 
 
- 
- Enclosing class:
 - InstancePoolPlacementConfiguration
 
public static class InstancePoolPlacementConfiguration.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePoolPlacementConfiguration.BuilderavailabilityDomain(String availabilityDomain)The availability domain to place instances.InstancePoolPlacementConfigurationbuild()InstancePoolPlacementConfiguration.Buildercopy(InstancePoolPlacementConfiguration model)InstancePoolPlacementConfiguration.BuilderfaultDomains(List<String> faultDomains)The fault domains to place instances.InstancePoolPlacementConfiguration.BuilderprimarySubnetId(String primarySubnetId)The OCID of the primary subnet in which to place instances.InstancePoolPlacementConfiguration.BuilderprimaryVnicSubnets(InstancePoolPlacementPrimarySubnet primaryVnicSubnets)InstancePoolPlacementConfiguration.BuildersecondaryVnicSubnets(List<InstancePoolPlacementSecondaryVnicSubnet> secondaryVnicSubnets)The set of secondary VNIC data for instances in the pool. 
 - 
 
- 
- 
Method Detail
- 
availabilityDomain
public InstancePoolPlacementConfiguration.Builder availabilityDomain(String availabilityDomain)
The availability domain to place instances.Example: Uocm:PHX-AD-1
- Parameters:
 availabilityDomain- the value to set- Returns:
 - this builder
 
 
- 
primarySubnetId
public 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.
- Parameters:
 primarySubnetId- the value to set- Returns:
 - this builder
 
 
- 
faultDomains
public 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
listFaultDomainsoperation in the Identity and Access Management Service API.Example: [FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]
- Parameters:
 faultDomains- the value to set- Returns:
 - this builder
 
 
- 
primaryVnicSubnets
public InstancePoolPlacementConfiguration.Builder primaryVnicSubnets(InstancePoolPlacementPrimarySubnet primaryVnicSubnets)
 
- 
secondaryVnicSubnets
public InstancePoolPlacementConfiguration.Builder secondaryVnicSubnets(List<InstancePoolPlacementSecondaryVnicSubnet> secondaryVnicSubnets)
The set of secondary VNIC data for instances in the pool.- Parameters:
 secondaryVnicSubnets- the value to set- Returns:
 - this builder
 
 
- 
build
public InstancePoolPlacementConfiguration build()
 
- 
copy
public InstancePoolPlacementConfiguration.Builder copy(InstancePoolPlacementConfiguration model)
 
 - 
 
 -