@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEffectiveRecommendationPreferencesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEffectiveRecommendationPreferencesResult() |
Modifier and Type | Method and Description |
---|---|
GetEffectiveRecommendationPreferencesResult |
clone() |
boolean |
equals(Object obj) |
String |
getEnhancedInfrastructureMetrics()
The status of the enhanced infrastructure metrics recommendation preference.
|
ExternalMetricsPreference |
getExternalMetricsPreference()
The provider of the external metrics recommendation preference.
|
int |
hashCode() |
void |
setEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
void |
setExternalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
The provider of the external metrics recommendation preference.
|
String |
toString()
Returns a string representation of this object.
|
GetEffectiveRecommendationPreferencesResult |
withEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
GetEffectiveRecommendationPreferencesResult |
withEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
GetEffectiveRecommendationPreferencesResult |
withExternalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
The provider of the external metrics recommendation preference.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetEffectiveRecommendationPreferencesResult()
public void setEnhancedInfrastructureMetrics(String 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.
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.
EnhancedInfrastructureMetrics
public String getEnhancedInfrastructureMetrics()
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.
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.
EnhancedInfrastructureMetrics
public GetEffectiveRecommendationPreferencesResult withEnhancedInfrastructureMetrics(String 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.
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.
EnhancedInfrastructureMetrics
public GetEffectiveRecommendationPreferencesResult withEnhancedInfrastructureMetrics(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.
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.
EnhancedInfrastructureMetrics
public void setExternalMetricsPreference(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.
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.
public ExternalMetricsPreference getExternalMetricsPreference()
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 GetEffectiveRecommendationPreferencesResult withExternalMetricsPreference(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.
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.
public String toString()
toString
in class Object
Object.toString()
public GetEffectiveRecommendationPreferencesResult clone()