Interface Placement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Placement.Builder,,Placement> SdkBuilder<Placement.Builder,,Placement> SdkPojo
- Enclosing class:
Placement
-
Method Summary
Modifier and TypeMethodDescriptionThe affinity setting for the instance on the Dedicated Host.availabilityZone(String availabilityZone) The Availability Zone of the instance.The ID of the placement group that the instance is in.The name of the placement group that the instance is in.The ID of the Dedicated Host on which the instance resides.hostResourceGroupArn(String hostResourceGroupArn) The ARN of the host resource group in which to launch the instances.partitionNumber(Integer partitionNumber) The number of the partition that the instance is 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
affinity
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance.
- Parameters:
affinity- The affinity setting for the instance on the Dedicated Host.This parameter is not supported for CreateFleet or ImportInstance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The name of the placement group that the instance is in. If you specify
GroupName, you can't specifyGroupId.- Parameters:
groupName- The name of the placement group that the instance is in. If you specifyGroupName, you can't specifyGroupId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionNumber
The number of the partition that the instance is in. Valid only if the placement group strategy is set to
partition.This parameter is not supported for CreateFleet.
- Parameters:
partitionNumber- The number of the partition that the instance is in. Valid only if the placement group strategy is set topartition.This parameter is not supported for CreateFleet.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostId
The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance.
- Parameters:
hostId- The ID of the Dedicated Host on which the instance resides.This parameter is not supported for CreateFleet or ImportInstance.
- 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
dedicatedruns on single-tenant hardware.This parameter is not supported for CreateFleet. The
hosttenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimitedCPU credit option.- Parameters:
tenancy- The tenancy of the instance. An instance with a tenancy ofdedicatedruns on single-tenant hardware.This parameter is not supported for CreateFleet. The
hosttenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimitedCPU credit option.- 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
dedicatedruns on single-tenant hardware.This parameter is not supported for CreateFleet. The
hosttenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimitedCPU credit option.- Parameters:
tenancy- The tenancy of the instance. An instance with a tenancy ofdedicatedruns on single-tenant hardware.This parameter is not supported for CreateFleet. The
hosttenancy is not supported for ImportInstance or for T3 instances that are configured for theunlimitedCPU credit option.- 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 this parameter, either omit the Tenancy parameter or set it to
host.This parameter is not supported for CreateFleet.
- Parameters:
hostResourceGroupArn- The ARN of the host resource group in which to launch the instances.If you specify this parameter, either omit the Tenancy parameter or set it to
host.This parameter is not supported for CreateFleet.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The ID of the placement group that the instance is in. If you specify
GroupId, you can't specifyGroupName.- Parameters:
groupId- The ID of the placement group that the instance is in. If you specifyGroupId, you can't specifyGroupName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet.
- Parameters:
availabilityZone- The Availability Zone of the instance.If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-