CopyableBuilder<SpotPlacement.Builder,SpotPlacement>, SdkBuilder<SpotPlacement.Builder,SpotPlacement>public static interface SpotPlacement.Builder extends CopyableBuilder<SpotPlacement.Builder,SpotPlacement>
| Modifier and Type | Method | 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).
|
copyapply, buildSpotPlacement.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.TenancySpotPlacement.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.TenancyCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.