@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.
|
ExternalMetricsPreference |
getExternalMetricsPreference()
An object that describes the external metrics recommendation preference.
|
String |
getInferredWorkloadTypes()
The status of the inferred workload types 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
void |
setExternalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
|
void |
setInferredWorkloadTypes(String inferredWorkloadTypes)
The status of the inferred workload types 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 |
withExternalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
|
RecommendationPreferencesDetail |
withInferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
|
RecommendationPreferencesDetail |
withInferredWorkloadTypes(String inferredWorkloadTypes)
The status of the inferred workload types 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.
ResourceType
public 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.
ResourceType
public 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.
ResourceType
public 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.
ResourceType
public void setEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics
- The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
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.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics
public RecommendationPreferencesDetail withEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics
- The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics
public RecommendationPreferencesDetail withEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics
- The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics
public void setInferredWorkloadTypes(String inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
inferredWorkloadTypes
- The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
InferredWorkloadTypesPreference
public String getInferredWorkloadTypes()
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
InferredWorkloadTypesPreference
public RecommendationPreferencesDetail withInferredWorkloadTypes(String inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
inferredWorkloadTypes
- The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
InferredWorkloadTypesPreference
public RecommendationPreferencesDetail withInferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference is
applied to the recommendations, and a status of Inactive
confirms that the preference isn't yet
applied to recommendations.
inferredWorkloadTypes
- The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active
confirms that the preference
is applied to the recommendations, and a status of Inactive
confirms that the preference
isn't yet applied to recommendations.
InferredWorkloadTypesPreference
public void setExternalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
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.
externalMetricsPreference
- An object that describes the external metrics recommendation preference.
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.
public ExternalMetricsPreference getExternalMetricsPreference()
An object that describes the external metrics recommendation preference.
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.
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.
public RecommendationPreferencesDetail withExternalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
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.
externalMetricsPreference
- An object that describes the external metrics recommendation preference.
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.
public String toString()
toString
in class Object
Object.toString()
public RecommendationPreferencesDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.