public static interface SpotPlacement.Builder extends CopyableBuilder<SpotPlacement.Builder,SpotPlacement>
Modifier and Type | Method and Description |
---|---|
SpotPlacement.Builder |
availabilityZone(String availabilityZone)
The Availability Zone.
|
SpotPlacement.Builder |
groupName(String groupName)
The name of the placement group (for cluster instances).
|
SpotPlacement.Builder |
tenancy(String tenancy)
The tenancy of the instance (if the instance is running in a VPC).
|
SpotPlacement.Builder |
tenancy(Tenancy tenancy)
The tenancy of the instance (if the instance is running in a VPC).
|
copy
applyMutation, build
SpotPlacement.Builder availabilityZone(String availabilityZone)
The Availability Zone.
[Spot fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
availabilityZone
- The Availability Zone.
[Spot fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
SpotPlacement.Builder groupName(String groupName)
The name of the placement group (for cluster instances).
groupName
- The name of the placement group (for cluster instances).SpotPlacement.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. The host
tenancy is not supported for
Spot instances.
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. The host
tenancy is not supported
for Spot instances.Tenancy
,
Tenancy
SpotPlacement.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. The host
tenancy is not supported for
Spot instances.
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. The host
tenancy is not supported
for Spot instances.Tenancy
,
Tenancy
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.