@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteRecommendationPreferencesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteRecommendationPreferencesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteRecommendationPreferencesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getRecommendationPreferenceNames()
The name of the recommendation preference to delete.
|
String |
getResourceType()
The target resource type of the recommendation preference to delete.
|
Scope |
getScope()
An object that describes the scope of the recommendation preference to delete.
|
int |
hashCode() |
void |
setRecommendationPreferenceNames(Collection<String> recommendationPreferenceNames)
The name of the recommendation preference to delete.
|
void |
setResourceType(String resourceType)
The target resource type of the recommendation preference to delete.
|
void |
setScope(Scope scope)
An object that describes the scope of the recommendation preference to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteRecommendationPreferencesRequest |
withRecommendationPreferenceNames(Collection<String> recommendationPreferenceNames)
The name of the recommendation preference to delete.
|
DeleteRecommendationPreferencesRequest |
withRecommendationPreferenceNames(RecommendationPreferenceName... recommendationPreferenceNames)
The name of the recommendation preference to delete.
|
DeleteRecommendationPreferencesRequest |
withRecommendationPreferenceNames(String... recommendationPreferenceNames)
The name of the recommendation preference to delete.
|
DeleteRecommendationPreferencesRequest |
withResourceType(ResourceType resourceType)
The target resource type of the recommendation preference to delete.
|
DeleteRecommendationPreferencesRequest |
withResourceType(String resourceType)
The target resource type of the recommendation preference to delete.
|
DeleteRecommendationPreferencesRequest |
withScope(Scope scope)
An object that describes the scope of the recommendation preference to delete.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteRecommendationPreferencesRequest()
public void setResourceType(String resourceType)
The target resource type of the recommendation preference to delete.
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 delete.
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 delete.
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 DeleteRecommendationPreferencesRequest withResourceType(String resourceType)
The target resource type of the recommendation preference to delete.
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 delete.
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 DeleteRecommendationPreferencesRequest withResourceType(ResourceType resourceType)
The target resource type of the recommendation preference to delete.
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 delete.
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 setScope(Scope scope)
An object that describes the scope of the recommendation preference to delete.
You can delete recommendation preferences that are 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 to delete.
You can delete recommendation preferences that are 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 to delete.
You can delete recommendation preferences that are 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.
You can delete recommendation preferences that are 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 DeleteRecommendationPreferencesRequest withScope(Scope scope)
An object that describes the scope of the recommendation preference to delete.
You can delete recommendation preferences that are 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 to delete.
You can delete recommendation preferences that are 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 List<String> getRecommendationPreferenceNames()
The name of the recommendation preference to delete.
RecommendationPreferenceNamepublic void setRecommendationPreferenceNames(Collection<String> recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.RecommendationPreferenceNamepublic DeleteRecommendationPreferencesRequest withRecommendationPreferenceNames(String... recommendationPreferenceNames)
The name of the recommendation preference to delete.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationPreferenceNames(java.util.Collection) or
withRecommendationPreferenceNames(java.util.Collection) if you want to override the existing values.
recommendationPreferenceNames - The name of the recommendation preference to delete.RecommendationPreferenceNamepublic DeleteRecommendationPreferencesRequest withRecommendationPreferenceNames(Collection<String> recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.RecommendationPreferenceNamepublic DeleteRecommendationPreferencesRequest withRecommendationPreferenceNames(RecommendationPreferenceName... recommendationPreferenceNames)
The name of the recommendation preference to delete.
recommendationPreferenceNames - The name of the recommendation preference to delete.RecommendationPreferenceNamepublic String toString()
toString in class ObjectObject.toString()public DeleteRecommendationPreferencesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()