ToCopyableBuilder<SpotPrice.Builder,SpotPrice>
@Generated("software.amazon.awssdk:codegen") public class SpotPrice extends Object implements ToCopyableBuilder<SpotPrice.Builder,SpotPrice>
Describes the maximum hourly price (bid) for any Spot instance launched to fulfill the request.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SpotPrice.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
availabilityZone() |
The Availability Zone.
|
static SpotPrice.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceType() |
The instance type.
|
String |
productDescription() |
A general description of the AMI.
|
static Class<? extends SpotPrice.Builder> |
serializableBuilderClass() |
|
String |
spotPrice() |
The maximum price (bid) that you are willing to pay for a Spot instance.
|
Date |
timestamp() |
The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
SpotPrice.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.
public String instanceType()
The instance type. Note that T2 and HS1 instance types are not supported.
InstanceType
public String productDescription()
A general description of the AMI.
RIProductDescription
public String spotPrice()
The maximum price (bid) that you are willing to pay for a Spot instance.
public Date timestamp()
The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public SpotPrice.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SpotPrice.Builder,SpotPrice>
public static SpotPrice.Builder builder()
public static Class<? extends SpotPrice.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.