@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationPreferencesDetail extends Object implements Serializable, Cloneable, StructuredPojo
Describes a recommendation preference.
| Constructor and Description |
|---|
RecommendationPreferencesDetail() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationPreferencesDetail |
clone() |
boolean |
equals(Object obj) |
String |
getEnhancedInfrastructureMetrics()
The status of the enhanced infrastructure metrics recommendation preference.
|
String |
getResourceType()
The target resource type of the recommendation preference to create.
|
Scope |
getScope()
An object that describes the scope of the recommendation preference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
void |
setResourceType(String resourceType)
The target resource type of the recommendation preference to create.
|
void |
setScope(Scope scope)
An object that describes the scope of the recommendation preference.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationPreferencesDetail |
withEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
RecommendationPreferencesDetail |
withEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
RecommendationPreferencesDetail |
withResourceType(ResourceType resourceType)
The target resource type of the recommendation preference to create.
|
RecommendationPreferencesDetail |
withResourceType(String resourceType)
The target resource type of the recommendation preference to create.
|
RecommendationPreferencesDetail |
withScope(Scope scope)
An object that describes the scope of the recommendation preference.
|
public void setScope(Scope scope)
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
scope - An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
public Scope getScope()
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
public RecommendationPreferencesDetail withScope(Scope scope)
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
scope - An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
public void setResourceType(String resourceType)
The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling
group.
resourceType - The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an
Auto Scaling group.
ResourceTypepublic String getResourceType()
The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling
group.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an
Auto Scaling group.
ResourceTypepublic RecommendationPreferencesDetail withResourceType(String resourceType)
The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling
group.
resourceType - The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an
Auto Scaling group.
ResourceTypepublic RecommendationPreferencesDetail withResourceType(ResourceType resourceType)
The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling
group.
resourceType - The target resource type of the recommendation preference to create.
The Ec2Instance option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an
Auto Scaling group.
ResourceTypepublic void setEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
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.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference.
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.
EnhancedInfrastructureMetricspublic String getEnhancedInfrastructureMetrics()
The status of the enhanced infrastructure metrics recommendation preference.
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.
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.
EnhancedInfrastructureMetricspublic RecommendationPreferencesDetail withEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
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.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference.
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.
EnhancedInfrastructureMetricspublic RecommendationPreferencesDetail withEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
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.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference.
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.
EnhancedInfrastructureMetricspublic String toString()
toString in class ObjectObject.toString()public RecommendationPreferencesDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.