@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 ID of the AWS account 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 request.
|
String |
getNextToken()
The token to advance to the next page of Auto Scaling group recommendations.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The ID of the AWS account 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 request.
|
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 ID of the AWS account for which to return Auto Scaling group recommendations.
|
GetAutoScalingGroupRecommendationsRequest |
withAccountIds(String... accountIds)
The ID of the AWS account 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 request.
|
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 ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
public void setAccountIds(Collection<String> accountIds)
The ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
accountIds
- The ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
public GetAutoScalingGroupRecommendationsRequest withAccountIds(String... accountIds)
The ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want 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 ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
public GetAutoScalingGroupRecommendationsRequest withAccountIds(Collection<String> accountIds)
The ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
accountIds
- The ID of the AWS account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want 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 request.
To retrieve the remaining results, make another request with the returned NextToken
value.
maxResults
- The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken
value.
public Integer getMaxResults()
The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken
value.
To retrieve the remaining results, make another request with the returned NextToken
value.
public GetAutoScalingGroupRecommendationsRequest withMaxResults(Integer maxResults)
The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken
value.
maxResults
- The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request 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()