@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAutoScalingGroupRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetAutoScalingGroupRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
GetAutoScalingGroupRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The AWS account IDs for which to return Auto Scaling group recommendations.
|
List<String> |
getAutoScalingGroupArns()
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
|
List<Filter> |
getFilters()
An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.
|
Integer |
getMaxResults()
The maximum number of Auto Scaling group recommendations to return with a single call.
|
String |
getNextToken()
The token to advance to the next page of Auto Scaling group recommendations.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The AWS account IDs for which to return Auto Scaling group recommendations.
|
void |
setAutoScalingGroupArns(Collection<String> autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
|
void |
setFilters(Collection<Filter> filters)
An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.
|
void |
setMaxResults(Integer maxResults)
The maximum number of Auto Scaling group recommendations to return with a single call.
|
void |
setNextToken(String nextToken)
The token to advance to the next page of Auto Scaling group recommendations.
|
String |
toString()
Returns a string representation of this object.
|
GetAutoScalingGroupRecommendationsRequest |
withAccountIds(Collection<String> accountIds)
The AWS account IDs for which to return Auto Scaling group recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withAccountIds(String... accountIds)
The AWS account IDs for which to return Auto Scaling group recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withAutoScalingGroupArns(Collection<String> autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withAutoScalingGroupArns(String... autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withFilters(Collection<Filter> filters)
An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withFilters(Filter... filters)
An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withMaxResults(Integer maxResults)
The maximum number of Auto Scaling group recommendations to return with a single call.
|
GetAutoScalingGroupRecommendationsRequest |
withNextToken(String nextToken)
The token to advance to the next page of Auto Scaling group recommendations.
|
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, withSdkRequestTimeout
public GetAutoScalingGroupRecommendationsRequest()
public List<String> getAccountIds()
The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
Only one account ID can be specified per request.
public void setAccountIds(Collection<String> accountIds)
The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
accountIds
- The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
public GetAutoScalingGroupRecommendationsRequest withAccountIds(String... accountIds)
The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
public GetAutoScalingGroupRecommendationsRequest withAccountIds(Collection<String> accountIds)
The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
accountIds
- The AWS account IDs for which to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
public List<String> getAutoScalingGroupArns()
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
public void setAutoScalingGroupArns(Collection<String> autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
autoScalingGroupArns
- The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.public GetAutoScalingGroupRecommendationsRequest withAutoScalingGroupArns(String... autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroupArns(java.util.Collection)
or withAutoScalingGroupArns(java.util.Collection)
if you want to override the existing values.
autoScalingGroupArns
- The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.public GetAutoScalingGroupRecommendationsRequest withAutoScalingGroupArns(Collection<String> autoScalingGroupArns)
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
autoScalingGroupArns
- The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.public void setNextToken(String nextToken)
The token to advance to the next page of Auto Scaling group recommendations.
nextToken
- The token to advance to the next page of Auto Scaling group recommendations.public String getNextToken()
The token to advance to the next page of Auto Scaling group recommendations.
public GetAutoScalingGroupRecommendationsRequest withNextToken(String nextToken)
The token to advance to the next page of Auto Scaling group recommendations.
nextToken
- The token to advance to the next page of Auto Scaling group recommendations.public void setMaxResults(Integer maxResults)
The maximum number of Auto Scaling group recommendations to return with a single call.
To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of Auto Scaling group recommendations to return with a single call.
To retrieve the remaining results, make another call with the returned NextToken
value.
public Integer getMaxResults()
The maximum number of Auto Scaling group recommendations to return with a single call.
To retrieve the remaining results, make another call with the returned NextToken
value.
To retrieve the remaining results, make another call with the returned NextToken
value.
public GetAutoScalingGroupRecommendationsRequest withMaxResults(Integer maxResults)
The maximum number of Auto Scaling group recommendations to return with a single call.
To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of Auto Scaling group recommendations to return with a single call.
To retrieve the remaining results, make another call with the returned NextToken
value.
public List<Filter> getFilters()
An array of objects that describe a filter that returns a more specific list of Auto Scaling group recommendations.
public void setFilters(Collection<Filter> filters)
An array of objects that describe a filter that returns a more specific list of Auto Scaling group recommendations.
filters
- An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.public GetAutoScalingGroupRecommendationsRequest withFilters(Filter... filters)
An array of objects that describe a filter that returns a more specific list of Auto Scaling group recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.public GetAutoScalingGroupRecommendationsRequest withFilters(Collection<Filter> filters)
An array of objects that describe a filter that returns a more specific list of Auto Scaling group recommendations.
filters
- An array of objects that describe a filter that returns a more specific list of Auto Scaling group
recommendations.public String toString()
toString
in class Object
Object.toString()
public GetAutoScalingGroupRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.