@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRDSDatabaseRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRDSDatabaseRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
GetRDSDatabaseRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
|
List<RDSDBRecommendationFilter> |
getFilters()
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
|
Integer |
getMaxResults()
The maximum number of Amazon RDS recommendations to return with a single request.
|
String |
getNextToken()
The token to advance to the next page of Amazon RDS recommendations.
|
RecommendationPreferences |
getRecommendationPreferences() |
List<String> |
getResourceArns()
The ARN that identifies the Amazon RDS.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
|
void |
setFilters(Collection<RDSDBRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
|
void |
setMaxResults(Integer maxResults)
The maximum number of Amazon RDS recommendations to return with a single request.
|
void |
setNextToken(String nextToken)
The token to advance to the next page of Amazon RDS recommendations.
|
void |
setRecommendationPreferences(RecommendationPreferences recommendationPreferences) |
void |
setResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon RDS.
|
String |
toString()
Returns a string representation of this object.
|
GetRDSDatabaseRecommendationsRequest |
withAccountIds(Collection<String> accountIds)
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
|
GetRDSDatabaseRecommendationsRequest |
withAccountIds(String... accountIds)
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
|
GetRDSDatabaseRecommendationsRequest |
withFilters(Collection<RDSDBRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
|
GetRDSDatabaseRecommendationsRequest |
withFilters(RDSDBRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
|
GetRDSDatabaseRecommendationsRequest |
withMaxResults(Integer maxResults)
The maximum number of Amazon RDS recommendations to return with a single request.
|
GetRDSDatabaseRecommendationsRequest |
withNextToken(String nextToken)
The token to advance to the next page of Amazon RDS recommendations.
|
GetRDSDatabaseRecommendationsRequest |
withRecommendationPreferences(RecommendationPreferences recommendationPreferences) |
GetRDSDatabaseRecommendationsRequest |
withResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon RDS.
|
GetRDSDatabaseRecommendationsRequest |
withResourceArns(String... resourceArns)
The ARN that identifies the Amazon RDS.
|
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 GetRDSDatabaseRecommendationsRequest()
public List<String> getResourceArns()
The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
public void setResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
resourceArns
- The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
public GetRDSDatabaseRecommendationsRequest withResourceArns(String... resourceArns)
The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
public GetRDSDatabaseRecommendationsRequest withResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
resourceArns
- The ARN that identifies the Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of a DB Cluster ARN:
arn:aws:rds:{region}:{accountId}:cluster:{resourceName}
public void setNextToken(String nextToken)
The token to advance to the next page of Amazon RDS recommendations.
nextToken
- The token to advance to the next page of Amazon RDS recommendations.public String getNextToken()
The token to advance to the next page of Amazon RDS recommendations.
public GetRDSDatabaseRecommendationsRequest withNextToken(String nextToken)
The token to advance to the next page of Amazon RDS recommendations.
nextToken
- The token to advance to the next page of Amazon RDS recommendations.public void setMaxResults(Integer maxResults)
The maximum number of Amazon RDS 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 Amazon RDS 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 Amazon RDS 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 GetRDSDatabaseRecommendationsRequest withMaxResults(Integer maxResults)
The maximum number of Amazon RDS 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 Amazon RDS recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
public List<RDSDBRecommendationFilter> getFilters()
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
public void setFilters(Collection<RDSDBRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
filters
- An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.public GetRDSDatabaseRecommendationsRequest withFilters(RDSDBRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of Amazon RDS 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 to specify a filter that returns a more specific list of Amazon RDS recommendations.public GetRDSDatabaseRecommendationsRequest withFilters(Collection<RDSDBRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.
filters
- An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.public List<String> getAccountIds()
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
public void setAccountIds(Collection<String> accountIds)
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
accountIds
- Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
public GetRDSDatabaseRecommendationsRequest withAccountIds(String... accountIds)
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID 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
- Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
public GetRDSDatabaseRecommendationsRequest withAccountIds(Collection<String> accountIds)
Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
accountIds
- Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.
You can only specify one account ID per request.
public void setRecommendationPreferences(RecommendationPreferences recommendationPreferences)
recommendationPreferences
- public RecommendationPreferences getRecommendationPreferences()
public GetRDSDatabaseRecommendationsRequest withRecommendationPreferences(RecommendationPreferences recommendationPreferences)
recommendationPreferences
- public String toString()
toString
in class Object
Object.toString()
public GetRDSDatabaseRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()