Interface LaunchTemplatePlacementRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchTemplatePlacementRequest.Builder,
,LaunchTemplatePlacementRequest> SdkBuilder<LaunchTemplatePlacementRequest.Builder,
,LaunchTemplatePlacementRequest> SdkPojo
- Enclosing class:
LaunchTemplatePlacementRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe affinity setting for an instance on a Dedicated Host.availabilityZone
(String availabilityZone) The Availability Zone for the instance.The Group Id of a placement group.The name of the placement group for the instance.The ID of the Dedicated Host for the instance.hostResourceGroupArn
(String hostResourceGroupArn) The ARN of the host resource group in which to launch the instances.partitionNumber
(Integer partitionNumber) The number of the partition the instance should launch in.spreadDomain
(String spreadDomain) Reserved for future use.The tenancy of the instance.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, sdkFields
-
Method Details
-
availabilityZone
The Availability Zone for the instance.
- Parameters:
availabilityZone
- The Availability Zone for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affinity
The affinity setting for an instance on a Dedicated Host.
- Parameters:
affinity
- The affinity setting for an instance on a Dedicated Host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- Parameters:
tenancy
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tenancy
The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- Parameters:
tenancy
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to
host
.- Parameters:
hostResourceGroupArn
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it tohost
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The Group Id of a 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 a 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.
-