Class RightsizingRecommendationMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.RightsizingRecommendationMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RightsizingRecommendationMetadata.Builder,RightsizingRecommendationMetadata>
@Generated("software.amazon.awssdk:codegen") public final class RightsizingRecommendationMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RightsizingRecommendationMetadata.Builder,RightsizingRecommendationMetadata>
Metadata for this recommendation set.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRightsizingRecommendationMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadditionalMetadata()Additional metadata that might be applicable to the recommendation.static RightsizingRecommendationMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgenerationTimestamp()The timestamp for when Amazon Web Services made this recommendation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LookbackPeriodInDayslookbackPeriodInDays()The number of days of previous usage that Amazon Web Services considers when making this recommendation.StringlookbackPeriodInDaysAsString()The number of days of previous usage that Amazon Web Services considers when making this recommendation.StringrecommendationId()The ID for this specific recommendation.List<SdkField<?>>sdkFields()static Class<? extends RightsizingRecommendationMetadata.Builder>serializableBuilderClass()RightsizingRecommendationMetadata.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
-
recommendationId
public final String recommendationId()
The ID for this specific recommendation.
- Returns:
- The ID for this specific recommendation.
-
generationTimestamp
public final String generationTimestamp()
The timestamp for when Amazon Web Services made this recommendation.
- Returns:
- The timestamp for when Amazon Web Services made this recommendation.
-
lookbackPeriodInDays
public final LookbackPeriodInDays lookbackPeriodInDays()
The number of days of previous usage that Amazon Web Services considers when making this recommendation.
If the service returns an enum value that is not available in the current SDK version,
lookbackPeriodInDayswill returnLookbackPeriodInDays.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlookbackPeriodInDaysAsString().- Returns:
- The number of days of previous usage that Amazon Web Services considers when making this recommendation.
- See Also:
LookbackPeriodInDays
-
lookbackPeriodInDaysAsString
public final String lookbackPeriodInDaysAsString()
The number of days of previous usage that Amazon Web Services considers when making this recommendation.
If the service returns an enum value that is not available in the current SDK version,
lookbackPeriodInDayswill returnLookbackPeriodInDays.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlookbackPeriodInDaysAsString().- Returns:
- The number of days of previous usage that Amazon Web Services considers when making this recommendation.
- See Also:
LookbackPeriodInDays
-
additionalMetadata
public final String additionalMetadata()
Additional metadata that might be applicable to the recommendation.
- Returns:
- Additional metadata that might be applicable to the recommendation.
-
toBuilder
public RightsizingRecommendationMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RightsizingRecommendationMetadata.Builder,RightsizingRecommendationMetadata>
-
builder
public static RightsizingRecommendationMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends RightsizingRecommendationMetadata.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.
-
-