@Generated(value="software.amazon.awssdk:codegen") public final class GetEffectiveRecommendationPreferencesResponse extends ComputeOptimizerResponse implements ToCopyableBuilder<GetEffectiveRecommendationPreferencesResponse.Builder,GetEffectiveRecommendationPreferencesResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEffectiveRecommendationPreferencesResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetEffectiveRecommendationPreferencesResponse.Builder |
builder() |
EnhancedInfrastructureMetrics |
enhancedInfrastructureMetrics()
The status of the enhanced infrastructure metrics recommendation preference.
|
String |
enhancedInfrastructureMetricsAsString()
The status of the enhanced infrastructure metrics recommendation preference.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExternalMetricsPreference |
externalMetricsPreference()
The provider of the external metrics recommendation preference.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEffectiveRecommendationPreferencesResponse.Builder> |
serializableBuilderClass() |
GetEffectiveRecommendationPreferencesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EnhancedInfrastructureMetrics enhancedInfrastructureMetrics()
The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.
A status of Active confirms that the preference is applied in the latest recommendation refresh, and
a status of Inactive confirms that it's not yet applied to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
If the service returns an enum value that is not available in the current SDK version,
enhancedInfrastructureMetrics will return EnhancedInfrastructureMetrics.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from enhancedInfrastructureMetricsAsString().
A status of Active confirms that the preference is applied in the latest recommendation
refresh, and a status of Inactive confirms that it's not yet applied to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetricspublic final String enhancedInfrastructureMetricsAsString()
The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.
A status of Active confirms that the preference is applied in the latest recommendation refresh, and
a status of Inactive confirms that it's not yet applied to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
If the service returns an enum value that is not available in the current SDK version,
enhancedInfrastructureMetrics will return EnhancedInfrastructureMetrics.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from enhancedInfrastructureMetricsAsString().
A status of Active confirms that the preference is applied in the latest recommendation
refresh, and a status of Inactive confirms that it's not yet applied to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetricspublic final ExternalMetricsPreference externalMetricsPreference()
The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level.
If the preference is applied in the latest recommendation refresh, an object with a valid source
value appears in the response. If the preference isn't applied to the recommendations already, then this object
doesn't appear in the response.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the GetEC2InstanceRecommendations
actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
If the preference is applied in the latest recommendation refresh, an object with a valid
source value appears in the response. If the preference isn't applied to the recommendations
already, then this object doesn't appear in the response.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
public GetEffectiveRecommendationPreferencesResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEffectiveRecommendationPreferencesResponse.Builder,GetEffectiveRecommendationPreferencesResponse>toBuilder in class AwsResponsepublic static GetEffectiveRecommendationPreferencesResponse.Builder builder()
public static Class<? extends GetEffectiveRecommendationPreferencesResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.