ToCopyableBuilder<SpotPlacement.Builder,SpotPlacement>
@Generated("software.amazon.awssdk:codegen") public class SpotPlacement extends Object implements ToCopyableBuilder<SpotPlacement.Builder,SpotPlacement>
Describes Spot instance placement.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SpotPlacement.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
availabilityZone() |
The Availability Zone.
|
static SpotPlacement.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
groupName() |
The name of the placement group (for cluster instances).
|
int |
hashCode() |
|
static Class<? extends SpotPlacement.Builder> |
serializableBuilderClass() |
|
String |
tenancy() |
The tenancy of the instance (if the instance is running in a VPC).
|
SpotPlacement.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public 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".
[Spot fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
public String groupName()
The name of the placement group (for cluster instances).
public 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.
dedicated
runs on single-tenant hardware. The host
tenancy is not supported for
Spot instances.Tenancy
public SpotPlacement.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SpotPlacement.Builder,SpotPlacement>
public static SpotPlacement.Builder builder()
public static Class<? extends SpotPlacement.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.