@Generated(value="software.amazon.awssdk:codegen") public final class EC2Specification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EC2Specification.Builder,EC2Specification>
The Amazon EC2 hardware specifications that you want AWS to provide recommendations for.
Modifier and Type | Class and Description |
---|---|
static interface |
EC2Specification.Builder |
Modifier and Type | Method and Description |
---|---|
static EC2Specification.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OfferingClass |
offeringClass()
Whether you want a recommendation for standard or convertible reservations.
|
String |
offeringClassAsString()
Whether you want a recommendation for standard or convertible reservations.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EC2Specification.Builder> |
serializableBuilderClass() |
EC2Specification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public OfferingClass offeringClass()
Whether you want a recommendation for standard or convertible reservations.
If the service returns an enum value that is not available in the current SDK version, offeringClass
will return OfferingClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
offeringClassAsString()
.
OfferingClass
public String offeringClassAsString()
Whether you want a recommendation for standard or convertible reservations.
If the service returns an enum value that is not available in the current SDK version, offeringClass
will return OfferingClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
offeringClassAsString()
.
OfferingClass
public EC2Specification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EC2Specification.Builder,EC2Specification>
public static EC2Specification.Builder builder()
public static Class<? extends EC2Specification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.