@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDBRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeDBRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDBRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
A filter that specifies one or more recommendations to describe.
|
Date |
getLastUpdatedAfter()
A filter to include only the recommendations that were updated after this specified time.
|
Date |
getLastUpdatedBefore()
A filter to include only the recommendations that were updated before this specified time.
|
String |
getLocale()
The language that you choose to return the list of recommendations.
|
String |
getMarker()
An optional pagination token provided by a previous
DescribeDBRecommendations request. |
Integer |
getMaxRecords()
The maximum number of recommendations to include in the response.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
A filter that specifies one or more recommendations to describe.
|
void |
setLastUpdatedAfter(Date lastUpdatedAfter)
A filter to include only the recommendations that were updated after this specified time.
|
void |
setLastUpdatedBefore(Date lastUpdatedBefore)
A filter to include only the recommendations that were updated before this specified time.
|
void |
setLocale(String locale)
The language that you choose to return the list of recommendations.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous
DescribeDBRecommendations request. |
void |
setMaxRecords(Integer maxRecords)
The maximum number of recommendations to include in the response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDBRecommendationsRequest |
withFilters(Collection<Filter> filters)
A filter that specifies one or more recommendations to describe.
|
DescribeDBRecommendationsRequest |
withFilters(Filter... filters)
A filter that specifies one or more recommendations to describe.
|
DescribeDBRecommendationsRequest |
withLastUpdatedAfter(Date lastUpdatedAfter)
A filter to include only the recommendations that were updated after this specified time.
|
DescribeDBRecommendationsRequest |
withLastUpdatedBefore(Date lastUpdatedBefore)
A filter to include only the recommendations that were updated before this specified time.
|
DescribeDBRecommendationsRequest |
withLocale(String locale)
The language that you choose to return the list of recommendations.
|
DescribeDBRecommendationsRequest |
withMarker(String marker)
An optional pagination token provided by a previous
DescribeDBRecommendations request. |
DescribeDBRecommendationsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of recommendations to include in the response.
|
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 void setLastUpdatedAfter(Date lastUpdatedAfter)
A filter to include only the recommendations that were updated after this specified time.
lastUpdatedAfter
- A filter to include only the recommendations that were updated after this specified time.public Date getLastUpdatedAfter()
A filter to include only the recommendations that were updated after this specified time.
public DescribeDBRecommendationsRequest withLastUpdatedAfter(Date lastUpdatedAfter)
A filter to include only the recommendations that were updated after this specified time.
lastUpdatedAfter
- A filter to include only the recommendations that were updated after this specified time.public void setLastUpdatedBefore(Date lastUpdatedBefore)
A filter to include only the recommendations that were updated before this specified time.
lastUpdatedBefore
- A filter to include only the recommendations that were updated before this specified time.public Date getLastUpdatedBefore()
A filter to include only the recommendations that were updated before this specified time.
public DescribeDBRecommendationsRequest withLastUpdatedBefore(Date lastUpdatedBefore)
A filter to include only the recommendations that were updated before this specified time.
lastUpdatedBefore
- A filter to include only the recommendations that were updated before this specified time.public void setLocale(String locale)
The language that you choose to return the list of recommendations.
Valid values:
en
en_UK
de
es
fr
id
it
ja
ko
pt_BR
zh_TW
zh_CN
locale
- The language that you choose to return the list of recommendations.
Valid values:
en
en_UK
de
es
fr
id
it
ja
ko
pt_BR
zh_TW
zh_CN
public String getLocale()
The language that you choose to return the list of recommendations.
Valid values:
en
en_UK
de
es
fr
id
it
ja
ko
pt_BR
zh_TW
zh_CN
Valid values:
en
en_UK
de
es
fr
id
it
ja
ko
pt_BR
zh_TW
zh_CN
public DescribeDBRecommendationsRequest withLocale(String locale)
The language that you choose to return the list of recommendations.
Valid values:
en
en_UK
de
es
fr
id
it
ja
ko
pt_BR
zh_TW
zh_CN
locale
- The language that you choose to return the list of recommendations.
Valid values:
en
en_UK
de
es
fr
id
it
ja
ko
pt_BR
zh_TW
zh_CN
public List<Filter> getFilters()
A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only includes the
recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes the
recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only includes
the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only includes
the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the recommendations
that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only includes the
recommendations that generated for the specified cluster parameter groups.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only
includes the recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes
the recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only
includes the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only
includes the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the
recommendations that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only
includes the recommendations that generated for the specified cluster parameter groups.
public void setFilters(Collection<Filter> filters)
A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only includes the
recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes the
recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only includes
the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only includes
the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the recommendations
that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only includes the
recommendations that generated for the specified cluster parameter groups.
filters
- A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only
includes the recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes
the recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only
includes the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only
includes the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the
recommendations that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only
includes the recommendations that generated for the specified cluster parameter groups.
public DescribeDBRecommendationsRequest withFilters(Filter... filters)
A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only includes the
recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes the
recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only includes
the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only includes
the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the recommendations
that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only includes the
recommendations that generated for the specified cluster parameter groups.
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
- A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only
includes the recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes
the recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only
includes the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only
includes the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the
recommendations that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only
includes the recommendations that generated for the specified cluster parameter groups.
public DescribeDBRecommendationsRequest withFilters(Collection<Filter> filters)
A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only includes the
recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes the
recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only includes
the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only includes
the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the recommendations
that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only includes the
recommendations that generated for the specified cluster parameter groups.
filters
- A filter that specifies one or more recommendations to describe.
Supported Filters:
recommendation-id
- Accepts a list of recommendation identifiers. The results list only
includes the recommendations whose identifier is one of the specified filter values.
status
- Accepts a list of recommendation statuses.
Valid values:
active
- The recommendations which are ready for you to apply.
pending
- The applied or scheduled recommendations which are in progress.
resolved
- The recommendations which are completed.
dismissed
- The recommendations that you dismissed.
The results list only includes the recommendations whose status is one of the specified filter values.
severity
- Accepts a list of recommendation severities. The results list only includes the
recommendations whose severity is one of the specified filter values.
Valid values:
high
medium
low
informational
type-id
- Accepts a list of recommendation type identifiers. The results list only includes
the recommendations whose type is one of the specified filter values.
dbi-resource-id
- Accepts a list of database resource identifiers. The results list only
includes the recommendations that generated for the specified databases.
cluster-resource-id
- Accepts a list of cluster resource identifiers. The results list only
includes the recommendations that generated for the specified clusters.
pg-arn
- Accepts a list of parameter group ARNs. The results list only includes the
recommendations that generated for the specified parameter groups.
cluster-pg-arn
- Accepts a list of cluster parameter group ARNs. The results list only
includes the recommendations that generated for the specified cluster parameter groups.
public void setMaxRecords(Integer maxRecords)
The maximum number of recommendations to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that you can
retrieve the remaining results.
maxRecords
- The maximum number of recommendations to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that you
can retrieve the remaining results.public Integer getMaxRecords()
The maximum number of recommendations to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that you can
retrieve the remaining results.
MaxRecords
value, a pagination token called a marker is included in the response
so that you can retrieve the remaining results.public DescribeDBRecommendationsRequest withMaxRecords(Integer maxRecords)
The maximum number of recommendations to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that you can
retrieve the remaining results.
maxRecords
- The maximum number of recommendations to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called a marker is included in the response so that you
can retrieve the remaining results.public void setMarker(String marker)
An optional pagination token provided by a previous DescribeDBRecommendations
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
marker
- An optional pagination token provided by a previous DescribeDBRecommendations
request. If
this parameter is specified, the response includes only records beyond the marker, up to the value
specified by MaxRecords
.public String getMarker()
An optional pagination token provided by a previous DescribeDBRecommendations
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
DescribeDBRecommendations
request. If
this parameter is specified, the response includes only records beyond the marker, up to the value
specified by MaxRecords
.public DescribeDBRecommendationsRequest withMarker(String marker)
An optional pagination token provided by a previous DescribeDBRecommendations
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
marker
- An optional pagination token provided by a previous DescribeDBRecommendations
request. If
this parameter is specified, the response includes only records beyond the marker, up to the value
specified by MaxRecords
.public String toString()
toString
in class Object
Object.toString()
public DescribeDBRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()