@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 Amazon Web Services 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()
Determines 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 Amazon Web Services recommends.
|
String |
platform()
The platform of the recommended reservation.
|
String |
region()
The Amazon Web Services Region of the recommended reservation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EC2InstanceDetails.Builder> |
serializableBuilderClass() |
Boolean |
sizeFlexEligible()
Determines whether the recommended reservation is size flexible.
|
String |
tenancy()
Determines 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 Amazon Web Services recommends.
public final String region()
The Amazon Web Services 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()
Determines whether the recommended reservation is dedicated or shared.
public final Boolean currentGeneration()
Determines whether the recommendation is for a current-generation instance.
public final Boolean sizeFlexEligible()
Determines 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 © 2023. All rights reserved.