Interface LaunchTemplatePlacement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplatePlacement.Builder,LaunchTemplatePlacement>,SdkBuilder<LaunchTemplatePlacement.Builder,LaunchTemplatePlacement>,SdkPojo
- Enclosing class:
- LaunchTemplatePlacement
public static interface LaunchTemplatePlacement.Builder extends SdkPojo, CopyableBuilder<LaunchTemplatePlacement.Builder,LaunchTemplatePlacement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchTemplatePlacement.Builderaffinity(String affinity)The affinity setting for the instance on the Dedicated Host.LaunchTemplatePlacement.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the instance.LaunchTemplatePlacement.BuildergroupId(String groupId)The Group ID of the placement group.LaunchTemplatePlacement.BuildergroupName(String groupName)The name of the placement group for the instance.LaunchTemplatePlacement.BuilderhostId(String hostId)The ID of the Dedicated Host for the instance.LaunchTemplatePlacement.BuilderhostResourceGroupArn(String hostResourceGroupArn)The ARN of the host resource group in which to launch the instances.LaunchTemplatePlacement.BuilderpartitionNumber(Integer partitionNumber)The number of the partition the instance should launch in.LaunchTemplatePlacement.BuilderspreadDomain(String spreadDomain)Reserved for future use.LaunchTemplatePlacement.Buildertenancy(String tenancy)The tenancy of the instance.LaunchTemplatePlacement.Buildertenancy(Tenancy tenancy)The tenancy of the instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
availabilityZone
LaunchTemplatePlacement.Builder availabilityZone(String availabilityZone)
The Availability Zone of the instance.
- Parameters:
availabilityZone- The Availability Zone of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affinity
LaunchTemplatePlacement.Builder affinity(String affinity)
The affinity setting for the instance on the Dedicated Host.
- Parameters:
affinity- The affinity setting for the instance on the Dedicated Host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
LaunchTemplatePlacement.Builder groupName(String groupName)
The name of the placement group for the instance.
- Parameters:
groupName- The name of the placement group for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostId
LaunchTemplatePlacement.Builder hostId(String hostId)
The ID of the Dedicated Host for the instance.
- Parameters:
hostId- The ID of the Dedicated Host for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
LaunchTemplatePlacement.Builder tenancy(String tenancy)
The tenancy of the instance. An instance with a tenancy of
dedicatedruns on single-tenant hardware.
-
tenancy
LaunchTemplatePlacement.Builder tenancy(Tenancy tenancy)
The tenancy of the instance. An instance with a tenancy of
dedicatedruns on single-tenant hardware.
-
spreadDomain
LaunchTemplatePlacement.Builder spreadDomain(String spreadDomain)
Reserved for future use.
- Parameters:
spreadDomain- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostResourceGroupArn
LaunchTemplatePlacement.Builder hostResourceGroupArn(String hostResourceGroupArn)
The ARN of the host resource group in which to launch the instances.
- Parameters:
hostResourceGroupArn- The ARN of the host resource group in which to launch the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionNumber
LaunchTemplatePlacement.Builder partitionNumber(Integer partitionNumber)
The number of the partition the instance should launch in. Valid only if the placement group strategy is set to
partition.- Parameters:
partitionNumber- The number of the partition the instance should launch in. Valid only if the placement group strategy is set topartition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
LaunchTemplatePlacement.Builder groupId(String groupId)
The Group ID of the placement group. You must specify the Placement Group Group ID to launch an instance in a shared placement group.
- Parameters:
groupId- The Group ID of the placement group. You must specify the Placement Group Group ID to launch an instance in a shared placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-