Package com.oracle.bmc.cloudbridge.model
Class Placement.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudbridge.model.Placement.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Placement.Builderaffinity(String affinity)The affinity setting for the instance on the Dedicated Host.Placement.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the instance.Placementbuild()Placement.Buildercopy(Placement model)Placement.BuildergroupName(String groupName)The name of the placement group the instance is in.Placement.BuilderhostKey(String hostKey)The ID of the Dedicated Host on which the instance resides.Placement.BuilderhostResourceGroupArn(String hostResourceGroupArn)The ARN of the host resource group in which to launch the instances.Placement.BuilderpartitionNumber(Integer partitionNumber)The number of the partition that the instance is in.Placement.BuilderspreadDomain(String spreadDomain)Reserved for future use.Placement.Buildertenancy(String tenancy)The tenancy of the instance (if the instance is running in a VPC).
 
- 
- 
- 
Method Detail- 
affinitypublic Placement.Builder affinity(String affinity) The affinity setting for the instance on the Dedicated Host.- Parameters:
- affinity- the value to set
- Returns:
- this builder
 
 - 
availabilityZonepublic Placement.Builder availabilityZone(String availabilityZone) The Availability Zone of the instance.- Parameters:
- availabilityZone- the value to set
- Returns:
- this builder
 
 - 
groupNamepublic Placement.Builder groupName(String groupName) The name of the placement group the instance is in.- Parameters:
- groupName- the value to set
- Returns:
- this builder
 
 - 
hostKeypublic Placement.Builder hostKey(String hostKey) The ID of the Dedicated Host on which the instance resides.- Parameters:
- hostKey- the value to set
- Returns:
- this builder
 
 - 
hostResourceGroupArnpublic Placement.Builder hostResourceGroupArn(String hostResourceGroupArn) The ARN of the host resource group in which to launch the instances.- Parameters:
- hostResourceGroupArn- the value to set
- Returns:
- this builder
 
 - 
partitionNumberpublic Placement.Builder partitionNumber(Integer partitionNumber) The number of the partition that the instance is in.- Parameters:
- partitionNumber- the value to set
- Returns:
- this builder
 
 - 
spreadDomainpublic Placement.Builder spreadDomain(String spreadDomain) Reserved for future use.- Parameters:
- spreadDomain- the value to set
- Returns:
- this builder
 
 - 
tenancypublic Placement.Builder tenancy(String tenancy) The tenancy of the instance (if the instance is running in a VPC).- Parameters:
- tenancy- the value to set
- Returns:
- this builder
 
 - 
buildpublic Placement build() 
 - 
copypublic Placement.Builder copy(Placement model) 
 
- 
 
-