@Generated(value="software.amazon.awssdk:codegen") public final class RightsizingRecommendationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RightsizingRecommendationConfiguration.Builder,RightsizingRecommendationConfiguration>
You can use RightsizingRecommendationConfiguration to 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RightsizingRecommendationConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
benefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation.
|
static RightsizingRecommendationConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RecommendationTarget |
recommendationTarget()
The option to see recommendations within the same instance family or recommendations for instances across other
families.
|
String |
recommendationTargetAsString()
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.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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,
recommendationTarget will return RecommendationTarget.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from recommendationTargetAsString().
SAME_INSTANCE_FAMILY.RecommendationTargetpublic 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,
recommendationTarget will return RecommendationTarget.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from recommendationTargetAsString().
SAME_INSTANCE_FAMILY.RecommendationTargetpublic final Boolean benefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE.
TRUE.public RightsizingRecommendationConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RightsizingRecommendationConfiguration.Builder,RightsizingRecommendationConfiguration>public static RightsizingRecommendationConfiguration.Builder builder()
public static Class<? extends RightsizingRecommendationConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.