@Generated(value="software.amazon.awssdk:codegen") public final class EC2InstanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EC2InstanceDetails.Builder,EC2InstanceDetails>
Details about the EC2 instances that AWS recommends that you purchase.
Modifier and Type | Class and Description |
---|---|
static interface |
EC2InstanceDetails.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone of the recommended reservation.
|
static EC2InstanceDetails.Builder |
builder() |
Boolean |
currentGeneration()
Whether the recommendation is for a current generation instance.
|
boolean |
equals(Object obj) |
String |
family()
The instance family of the recommended reservation.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceType()
The type of instance that AWS recommends.
|
String |
platform()
The platform of the recommended reservation.
|
String |
region()
The AWS Region of the recommended reservation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EC2InstanceDetails.Builder> |
serializableBuilderClass() |
Boolean |
sizeFlexEligible()
Whether the recommended reservation is size flexible.
|
String |
tenancy()
Whether the recommended reservation is dedicated or shared.
|
EC2InstanceDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String family()
The instance family of the recommended reservation.
public String instanceType()
The type of instance that AWS recommends.
public String region()
The AWS Region of the recommended reservation.
public String availabilityZone()
The Availability Zone of the recommended reservation.
public String platform()
The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
public String tenancy()
Whether the recommended reservation is dedicated or shared.
public Boolean currentGeneration()
Whether the recommendation is for a current generation instance.
public Boolean sizeFlexEligible()
Whether the recommended reservation is size flexible.
public EC2InstanceDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EC2InstanceDetails.Builder,EC2InstanceDetails>
public static EC2InstanceDetails.Builder builder()
public static Class<? extends EC2InstanceDetails.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.