Class RightsizingRecommendationConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.RightsizingRecommendationConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RightsizingRecommendationConfiguration.Builder,RightsizingRecommendationConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class RightsizingRecommendationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RightsizingRecommendationConfiguration.Builder,RightsizingRecommendationConfiguration>
You can use
RightsizingRecommendationConfigurationto customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or Reserved Instance (RI) benefits, or neither.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRightsizingRecommendationConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanbenefitsConsidered()The option to consider RI or Savings Plans discount benefits in your savings calculation.static RightsizingRecommendationConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RecommendationTargetrecommendationTarget()The option to see recommendations within the same instance family or recommendations for instances across other families.StringrecommendationTargetAsString()The option to see recommendations within the same instance family or recommendations for instances across other families.List<SdkField<?>>sdkFields()static Class<? extends RightsizingRecommendationConfiguration.Builder>serializableBuilderClass()RightsizingRecommendationConfiguration.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
-
recommendationTarget
public final RecommendationTarget recommendationTarget()
The option to see recommendations within the same instance family or recommendations for instances across other families. The default value is
SAME_INSTANCE_FAMILY.If the service returns an enum value that is not available in the current SDK version,
recommendationTargetwill returnRecommendationTarget.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecommendationTargetAsString().- Returns:
- The option to see recommendations within the same instance family or recommendations for instances across
other families. The default value is
SAME_INSTANCE_FAMILY. - See Also:
RecommendationTarget
-
recommendationTargetAsString
public final String recommendationTargetAsString()
The option to see recommendations within the same instance family or recommendations for instances across other families. The default value is
SAME_INSTANCE_FAMILY.If the service returns an enum value that is not available in the current SDK version,
recommendationTargetwill returnRecommendationTarget.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecommendationTargetAsString().- Returns:
- The option to see recommendations within the same instance family or recommendations for instances across
other families. The default value is
SAME_INSTANCE_FAMILY. - See Also:
RecommendationTarget
-
benefitsConsidered
public final Boolean benefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE.- Returns:
- The option to consider RI or Savings Plans discount benefits in your savings calculation. The default
value is
TRUE.
-
toBuilder
public RightsizingRecommendationConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RightsizingRecommendationConfiguration.Builder,RightsizingRecommendationConfiguration>
-
builder
public static RightsizingRecommendationConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends RightsizingRecommendationConfiguration.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.
-
-