@Generated(value="software.amazon.awssdk:codegen") public final class EC2InstanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EC2InstanceDetails.Builder,EC2InstanceDetails>
Details about the Amazon 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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String family()
The instance family of the recommended reservation.
public final String instanceType()
The type of instance that AWS recommends.
public final String region()
The AWS Region of the recommended reservation.
public final String availabilityZone()
The Availability Zone of the recommended reservation.
public final 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 final String tenancy()
Whether the recommended reservation is dedicated or shared.
public final Boolean currentGeneration()
Whether the recommendation is for a current-generation instance.
public final Boolean sizeFlexEligible()
Whether the recommended reservation is size flexible.
public EC2InstanceDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EC2InstanceDetails.Builder,EC2InstanceDetails>public static EC2InstanceDetails.Builder builder()
public static Class<? extends EC2InstanceDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.