public class ListAssociationsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AssociationFilter> |
associationFilterList
One or more filters.
|
private java.lang.Integer |
maxResults
The maximum number of items to return for this call.
|
private java.lang.String |
nextToken
The token for the next set of items to return.
|
NOOP
Constructor and Description |
---|
ListAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssociationsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<AssociationFilter> |
getAssociationFilterList()
One or more filters.
|
java.lang.Integer |
getMaxResults()
The maximum number of items to return for this call.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setAssociationFilterList(java.util.Collection<AssociationFilter> associationFilterList)
One or more filters.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAssociationsRequest |
withAssociationFilterList(AssociationFilter... associationFilterList)
One or more filters.
|
ListAssociationsRequest |
withAssociationFilterList(java.util.Collection<AssociationFilter> associationFilterList)
One or more filters.
|
ListAssociationsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this call.
|
ListAssociationsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
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
private SdkInternalList<AssociationFilter> associationFilterList
One or more filters. Use a filter to return a more specific list of results.
private java.lang.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.
private java.lang.String nextToken
The token for the next set of items to return. (You received this token from a previous call.)
public java.util.List<AssociationFilter> getAssociationFilterList()
One or more filters. Use a filter to return a more specific list of results.
public void setAssociationFilterList(java.util.Collection<AssociationFilter> associationFilterList)
One or more filters. Use a filter to return a more specific list of results.
associationFilterList
- One or more filters. Use a filter to return a more specific list
of results.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)
or
withAssociationFilterList(java.util.Collection)
if you want to
override the existing values.
associationFilterList
- One or more filters. Use a filter to return a more specific list
of results.public ListAssociationsRequest withAssociationFilterList(java.util.Collection<AssociationFilter> associationFilterList)
One or more filters. Use a filter to return a more specific list of results.
associationFilterList
- One or more filters. Use a filter to return a more specific list
of results.public void setMaxResults(java.lang.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.
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.public java.lang.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.
public ListAssociationsRequest withMaxResults(java.lang.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.
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.public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this
token from a previous call.)public java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public ListAssociationsRequest withNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this
token from a previous call.)public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()