Interface AwsEc2LaunchTemplateDataPlacementDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,AwsEc2LaunchTemplateDataPlacementDetails>,SdkBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,AwsEc2LaunchTemplateDataPlacementDetails>,SdkPojo
- Enclosing class:
- AwsEc2LaunchTemplateDataPlacementDetails
public static interface AwsEc2LaunchTemplateDataPlacementDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataPlacementDetails.Builder,AwsEc2LaunchTemplateDataPlacementDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2LaunchTemplateDataPlacementDetails.Builderaffinity(String affinity)The affinity setting for an instance on an EC2 Dedicated Host.AwsEc2LaunchTemplateDataPlacementDetails.BuilderavailabilityZone(String availabilityZone)The Availability Zone for the instance.AwsEc2LaunchTemplateDataPlacementDetails.BuildergroupName(String groupName)The name of the placement group for the instance.AwsEc2LaunchTemplateDataPlacementDetails.BuilderhostId(String hostId)The ID of the Dedicated Host for the instance.AwsEc2LaunchTemplateDataPlacementDetails.BuilderhostResourceGroupArn(String hostResourceGroupArn)The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.AwsEc2LaunchTemplateDataPlacementDetails.BuilderpartitionNumber(Integer partitionNumber)The number of the partition the instance should launch in.AwsEc2LaunchTemplateDataPlacementDetails.BuilderspreadDomain(String spreadDomain)Reserved for future use.AwsEc2LaunchTemplateDataPlacementDetails.Buildertenancy(String tenancy)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 Detail
-
affinity
AwsEc2LaunchTemplateDataPlacementDetails.Builder affinity(String 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
AwsEc2LaunchTemplateDataPlacementDetails.Builder availabilityZone(String 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
AwsEc2LaunchTemplateDataPlacementDetails.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
AwsEc2LaunchTemplateDataPlacementDetails.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.
-
hostResourceGroupArn
AwsEc2LaunchTemplateDataPlacementDetails.Builder hostResourceGroupArn(String 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
AwsEc2LaunchTemplateDataPlacementDetails.Builder partitionNumber(Integer 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
AwsEc2LaunchTemplateDataPlacementDetails.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.
-
tenancy
AwsEc2LaunchTemplateDataPlacementDetails.Builder tenancy(String 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.
-
-