Class RedshiftInstanceDetails
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.RedshiftInstanceDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RedshiftInstanceDetails.Builder,RedshiftInstanceDetails>
@Generated("software.amazon.awssdk:codegen") public final class RedshiftInstanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedshiftInstanceDetails.Builder,RedshiftInstanceDetails>
Details about the Amazon Redshift reservations that Amazon Web Services recommends that you purchase.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRedshiftInstanceDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedshiftInstanceDetails.Builderbuilder()BooleancurrentGeneration()Determines whether the recommendation is for a current-generation instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfamily()The instance family of the recommended reservation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnodeType()The type of node that Amazon Web Services recommends.Stringregion()The Amazon Web Services Region of the recommended reservation.List<SdkField<?>>sdkFields()static Class<? extends RedshiftInstanceDetails.Builder>serializableBuilderClass()BooleansizeFlexEligible()Determines whether the recommended reservation is size flexible.RedshiftInstanceDetails.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
-
family
public final String family()
The instance family of the recommended reservation.
- Returns:
- The instance family of the recommended reservation.
-
nodeType
public final String nodeType()
The type of node that Amazon Web Services recommends.
- Returns:
- The type of node that Amazon Web Services recommends.
-
region
public final String region()
The Amazon Web Services Region of the recommended reservation.
- Returns:
- The Amazon Web Services Region of the recommended reservation.
-
currentGeneration
public final Boolean currentGeneration()
Determines whether the recommendation is for a current-generation instance.
- Returns:
- Determines whether the recommendation is for a current-generation instance.
-
sizeFlexEligible
public final Boolean sizeFlexEligible()
Determines whether the recommended reservation is size flexible.
- Returns:
- Determines whether the recommended reservation is size flexible.
-
toBuilder
public RedshiftInstanceDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RedshiftInstanceDetails.Builder,RedshiftInstanceDetails>
-
builder
public static RedshiftInstanceDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends RedshiftInstanceDetails.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.
-
-