Class EC2Specification
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.EC2Specification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EC2Specification.Builder,EC2Specification>
@Generated("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 Amazon Web Services to provide recommendations for.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEC2Specification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EC2Specification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OfferingClassofferingClass()Indicates whether you want a recommendation for standard or convertible reservations.StringofferingClassAsString()Indicates whether you want a recommendation for standard or convertible reservations.List<SdkField<?>>sdkFields()static Class<? extends EC2Specification.Builder>serializableBuilderClass()EC2Specification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
offeringClass
public final OfferingClass offeringClass()
Indicates 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,
offeringClasswill returnOfferingClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromofferingClassAsString().- Returns:
- Indicates whether you want a recommendation for standard or convertible reservations.
- See Also:
OfferingClass
-
offeringClassAsString
public final String offeringClassAsString()
Indicates 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,
offeringClasswill returnOfferingClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromofferingClassAsString().- Returns:
- Indicates whether you want a recommendation for standard or convertible reservations.
- See Also:
OfferingClass
-
toBuilder
public EC2Specification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EC2Specification.Builder,EC2Specification>
-
builder
public static EC2Specification.Builder builder()
-
serializableBuilderClass
public static Class<? extends EC2Specification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-