@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEBSVolumeRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetEBSVolumeRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
GetEBSVolumeRecommendationsRequest |
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 volume recommendations.
|
List<EBSFilter> |
getFilters()
An array of objects that describe a filter that returns a more specific list of volume recommendations.
|
Integer |
getMaxResults()
The maximum number of volume recommendations to return with a single request.
|
String |
getNextToken()
The token to advance to the next page of volume recommendations.
|
List<String> |
getVolumeArns()
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The ID of the AWS account for which to return volume recommendations.
|
void |
setFilters(Collection<EBSFilter> filters)
An array of objects that describe a filter that returns a more specific list of volume recommendations.
|
void |
setMaxResults(Integer maxResults)
The maximum number of volume recommendations to return with a single request.
|
void |
setNextToken(String nextToken)
The token to advance to the next page of volume recommendations.
|
void |
setVolumeArns(Collection<String> volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
|
String |
toString()
Returns a string representation of this object.
|
GetEBSVolumeRecommendationsRequest |
withAccountIds(Collection<String> accountIds)
The ID of the AWS account for which to return volume recommendations.
|
GetEBSVolumeRecommendationsRequest |
withAccountIds(String... accountIds)
The ID of the AWS account for which to return volume recommendations.
|
GetEBSVolumeRecommendationsRequest |
withFilters(Collection<EBSFilter> filters)
An array of objects that describe a filter that returns a more specific list of volume recommendations.
|
GetEBSVolumeRecommendationsRequest |
withFilters(EBSFilter... filters)
An array of objects that describe a filter that returns a more specific list of volume recommendations.
|
GetEBSVolumeRecommendationsRequest |
withMaxResults(Integer maxResults)
The maximum number of volume recommendations to return with a single request.
|
GetEBSVolumeRecommendationsRequest |
withNextToken(String nextToken)
The token to advance to the next page of volume recommendations.
|
GetEBSVolumeRecommendationsRequest |
withVolumeArns(Collection<String> volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
|
GetEBSVolumeRecommendationsRequest |
withVolumeArns(String... volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return 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 List<String> getVolumeArns()
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
public void setVolumeArns(Collection<String> volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
volumeArns
- The Amazon Resource Name (ARN) of the volumes for which to return recommendations.public GetEBSVolumeRecommendationsRequest withVolumeArns(String... volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeArns(java.util.Collection)
or withVolumeArns(java.util.Collection)
if you want to
override the existing values.
volumeArns
- The Amazon Resource Name (ARN) of the volumes for which to return recommendations.public GetEBSVolumeRecommendationsRequest withVolumeArns(Collection<String> volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
volumeArns
- The Amazon Resource Name (ARN) of the volumes for which to return recommendations.public void setNextToken(String nextToken)
The token to advance to the next page of volume recommendations.
nextToken
- The token to advance to the next page of volume recommendations.public String getNextToken()
The token to advance to the next page of volume recommendations.
public GetEBSVolumeRecommendationsRequest withNextToken(String nextToken)
The token to advance to the next page of volume recommendations.
nextToken
- The token to advance to the next page of volume recommendations.public void setMaxResults(Integer maxResults)
The maximum number of volume 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 volume 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 volume 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 GetEBSVolumeRecommendationsRequest withMaxResults(Integer maxResults)
The maximum number of volume 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 volume recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken
value.
public List<EBSFilter> getFilters()
An array of objects that describe a filter that returns a more specific list of volume recommendations.
public void setFilters(Collection<EBSFilter> filters)
An array of objects that describe a filter that returns a more specific list of volume recommendations.
filters
- An array of objects that describe a filter that returns a more specific list of volume recommendations.public GetEBSVolumeRecommendationsRequest withFilters(EBSFilter... filters)
An array of objects that describe a filter that returns a more specific list of volume 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 volume recommendations.public GetEBSVolumeRecommendationsRequest withFilters(Collection<EBSFilter> filters)
An array of objects that describe a filter that returns a more specific list of volume recommendations.
filters
- An array of objects that describe a filter that returns a more specific list of volume recommendations.public List<String> getAccountIds()
The ID of the AWS account for which to return volume 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 volume 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 volume 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 volume 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 volume recommendations.
Only one account ID can be specified per request.
accountIds
- The ID of the AWS account for which to return volume 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 volume recommendations.
Only one account ID can be specified per request.
public GetEBSVolumeRecommendationsRequest withAccountIds(String... accountIds)
The ID of the AWS account for which to return volume 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 volume 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 volume 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 volume recommendations.
Only one account ID can be specified per request.
public GetEBSVolumeRecommendationsRequest withAccountIds(Collection<String> accountIds)
The ID of the AWS account for which to return volume 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 volume recommendations.
Only one account ID can be specified per request.
accountIds
- The ID of the AWS account for which to return volume 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 volume recommendations.
Only one account ID can be specified per request.
public String toString()
toString
in class Object
Object.toString()
public GetEBSVolumeRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()