Class ListAssociationsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simplesystemsmanagement.model.ListAssociationsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListAssociationsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAssociationsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<AssociationFilter>getAssociationFilterList()One or more filters.IntegergetMaxResults()The maximum number of items to return for this call.StringgetNextToken()The token for the next set of items to return.inthashCode()voidsetAssociationFilterList(Collection<AssociationFilter> associationFilterList)One or more filters.voidsetMaxResults(Integer maxResults)The maximum number of items to return for this call.voidsetNextToken(String nextToken)The token for the next set of items to return.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListAssociationsRequestwithAssociationFilterList(AssociationFilter... associationFilterList)One or more filters.ListAssociationsRequestwithAssociationFilterList(Collection<AssociationFilter> associationFilterList)One or more filters.ListAssociationsRequestwithMaxResults(Integer maxResults)The maximum number of items to return for this call.ListAssociationsRequestwithNextToken(String nextToken)The token for the next set of items to return.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getAssociationFilterList
public List<AssociationFilter> getAssociationFilterList()
One or more filters. Use a filter to return a more specific list of results.
- Returns:
- One or more filters. Use a filter to return a more specific list of results.
-
setAssociationFilterList
public void setAssociationFilterList(Collection<AssociationFilter> associationFilterList)
One or more filters. Use a filter to return a more specific list of results.
- Parameters:
associationFilterList- One or more filters. Use a filter to return a more specific list of results.
-
withAssociationFilterList
public ListAssociationsRequest withAssociationFilterList(AssociationFilter... associationFilterList)
One or more filters. Use a filter to return a more specific list of results.
NOTE: This method appends the values to the existing list (if any). Use
setAssociationFilterList(java.util.Collection)orwithAssociationFilterList(java.util.Collection)if you want to override the existing values.- Parameters:
associationFilterList- One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssociationFilterList
public ListAssociationsRequest withAssociationFilterList(Collection<AssociationFilter> associationFilterList)
One or more filters. Use a filter to return a more specific list of results.
- Parameters:
associationFilterList- One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
-
getMaxResults
public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Returns:
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
-
withMaxResults
public ListAssociationsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
public ListAssociationsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListAssociationsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-