@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to list the existing recommendations for your account.
NOOP
Constructor and Description |
---|
ListRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListRecommendationsRequest |
addFilterEntry(String key,
String value)
Add a single Filter entry
|
ListRecommendationsRequest |
clearFilterEntries()
Removes all the entries added into Filter.
|
ListRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getFilter()
Filters applied when retrieving recommendations.
|
String |
getNextToken()
A token returned from a previous call to
ListRecommendations to indicate the position in the list of
recommendations. |
Integer |
getPageSize()
The number of results to show in a single call to
ListRecommendations . |
int |
hashCode() |
void |
setFilter(Map<String,String> filter)
Filters applied when retrieving recommendations.
|
void |
setNextToken(String nextToken)
A token returned from a previous call to
ListRecommendations to indicate the position in the list of
recommendations. |
void |
setPageSize(Integer pageSize)
The number of results to show in a single call to
ListRecommendations . |
String |
toString()
Returns a string representation of this object.
|
ListRecommendationsRequest |
withFilter(Map<String,String> filter)
Filters applied when retrieving recommendations.
|
ListRecommendationsRequest |
withNextToken(String nextToken)
A token returned from a previous call to
ListRecommendations to indicate the position in the list of
recommendations. |
ListRecommendationsRequest |
withPageSize(Integer pageSize)
The number of results to show in a single call to
ListRecommendations . |
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 Map<String,String> getFilter()
Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of
STATUS
and IMPACT
or STATUS
and TYPE
STATUS
and IMPACT
or STATUS
and TYPE
public void setFilter(Map<String,String> filter)
Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of
STATUS
and IMPACT
or STATUS
and TYPE
filter
- Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of
STATUS
and IMPACT
or STATUS
and TYPE
public ListRecommendationsRequest withFilter(Map<String,String> filter)
Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of
STATUS
and IMPACT
or STATUS
and TYPE
filter
- Filters applied when retrieving recommendations. Can eiter be an individual filter, or combinations of
STATUS
and IMPACT
or STATUS
and TYPE
public ListRecommendationsRequest addFilterEntry(String key, String value)
public ListRecommendationsRequest clearFilterEntries()
public void setNextToken(String nextToken)
A token returned from a previous call to ListRecommendations
to indicate the position in the list of
recommendations.
nextToken
- A token returned from a previous call to ListRecommendations
to indicate the position in the
list of recommendations.public String getNextToken()
A token returned from a previous call to ListRecommendations
to indicate the position in the list of
recommendations.
ListRecommendations
to indicate the position in the
list of recommendations.public ListRecommendationsRequest withNextToken(String nextToken)
A token returned from a previous call to ListRecommendations
to indicate the position in the list of
recommendations.
nextToken
- A token returned from a previous call to ListRecommendations
to indicate the position in the
list of recommendations.public void setPageSize(Integer pageSize)
The number of results to show in a single call to ListRecommendations
. If the number of results is
larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
pageSize
- The number of results to show in a single call to ListRecommendations
. If the number of
results is larger than the number you specified in this parameter, then the response includes a
NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
public Integer getPageSize()
The number of results to show in a single call to ListRecommendations
. If the number of results is
larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
ListRecommendations
. If the number of
results is larger than the number you specified in this parameter, then the response includes a
NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
public ListRecommendationsRequest withPageSize(Integer pageSize)
The number of results to show in a single call to ListRecommendations
. If the number of results is
larger than the number you specified in this parameter, then the response includes a NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
pageSize
- The number of results to show in a single call to ListRecommendations
. If the number of
results is larger than the number you specified in this parameter, then the response includes a
NextToken
element, which you can use to obtain additional results.
The value you specify has to be at least 1, and can be no more than 100.
public String toString()
toString
in class Object
Object.toString()
public ListRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()