Interface AwsEc2LaunchTemplateDataPlacementDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,
,AwsEc2LaunchTemplateDataPlacementDetails> SdkBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,
,AwsEc2LaunchTemplateDataPlacementDetails> SdkPojo
- Enclosing class:
AwsEc2LaunchTemplateDataPlacementDetails
@Mutable
@NotThreadSafe
public static interface AwsEc2LaunchTemplateDataPlacementDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,AwsEc2LaunchTemplateDataPlacementDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe affinity setting for an instance on an EC2 Dedicated Host.availabilityZone
(String availabilityZone) The Availability Zone for the instance.The name of the placement group for the instance.The ID of the Dedicated Host for the instance.hostResourceGroupArn
(String hostResourceGroupArn) The Amazon Resource Name (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 (if the instance is running in a VPC).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 Details
-
affinity
The affinity setting for an instance on an EC2 Dedicated Host.
- Parameters:
affinity
- The affinity setting for an instance on an EC2 Dedicated Host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
hostResourceGroupArn
The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.
- Parameters:
hostResourceGroupArn
- The Amazon Resource Name (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
The number of the partition the instance should launch in.
- Parameters:
partitionNumber
- The number of the partition the instance should launch in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
tenancy
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
- Parameters:
tenancy
- The tenancy of the instance (if the instance is running in a VPC). 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.
-