public static interface Placement.Builder extends SdkPojo, CopyableBuilder<Placement.Builder,Placement>
Modifier and Type | Method and Description |
---|---|
Placement.Builder |
affinity(String affinity)
The affinity setting for the instance on the Dedicated Host.
|
Placement.Builder |
availabilityZone(String availabilityZone)
The Availability Zone of the instance.
|
Placement.Builder |
groupId(String groupId)
The ID of the placement group that the instance is in.
|
Placement.Builder |
groupName(String groupName)
The name of the placement group that the instance is in.
|
Placement.Builder |
hostId(String hostId)
The ID of the Dedicated Host on which the instance resides.
|
Placement.Builder |
hostResourceGroupArn(String hostResourceGroupArn)
The ARN of the host resource group in which to launch the instances.
|
Placement.Builder |
partitionNumber(Integer partitionNumber)
The number of the partition that the instance is in.
|
Placement.Builder |
spreadDomain(String spreadDomain)
Reserved for future use.
|
Placement.Builder |
tenancy(String tenancy)
The tenancy of the instance (if the instance is running in a VPC).
|
Placement.Builder |
tenancy(Tenancy tenancy)
The tenancy of the instance (if the instance is running in a VPC).
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Placement.Builder availabilityZone(String 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.
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.
Placement.Builder affinity(String affinity)
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance.
affinity
- The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance.
Placement.Builder groupName(String groupName)
The name of the placement group that the instance is in. If you specify GroupName
, you can't
specify GroupId
.
groupName
- The name of the placement group that the instance is in. If you specify GroupName
, you
can't specify GroupId
.Placement.Builder partitionNumber(Integer 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.
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.
Placement.Builder hostId(String hostId)
The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance.
hostId
- The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance.
Placement.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.
This parameter is not supported for CreateFleet. The
host
tenancy is not supported for ImportInstance or
for T3 instances that are configured for the unlimited
CPU credit option.
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.
This parameter is not supported for CreateFleet. The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited
CPU credit
option.
Tenancy
,
Tenancy
Placement.Builder tenancy(Tenancy 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.
This parameter is not supported for CreateFleet. The
host
tenancy is not supported for ImportInstance or
for T3 instances that are configured for the unlimited
CPU credit option.
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.
This parameter is not supported for CreateFleet. The
host
tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited
CPU credit
option.
Tenancy
,
Tenancy
Placement.Builder spreadDomain(String spreadDomain)
Reserved for future use.
spreadDomain
- Reserved for future use.Placement.Builder hostResourceGroupArn(String 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.
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.
Placement.Builder groupId(String groupId)
The ID of the placement group that the instance is in. If you specify GroupId
, you can't specify
GroupName
.
groupId
- The ID of the placement group that the instance is in. If you specify GroupId
, you can't
specify GroupName
.Copyright © 2023. All rights reserved.