@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssociationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociationType()
A filter that returns only associations of the specified type.
|
Date |
getCreatedAfter()
A filter that returns only associations created on or after the specified time.
|
Date |
getCreatedBefore()
A filter that returns only associations created on or before the specified time.
|
String |
getDestinationArn()
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
|
String |
getDestinationType()
A filter that returns only associations with the specified destination type.
|
Integer |
getMaxResults()
The maximum number of associations to return in the response.
|
String |
getNextToken()
If the previous call to
ListAssociations didn't return the full set of associations, the call
returns a token for getting the next set of associations. |
String |
getSortBy()
The property used to sort results.
|
String |
getSortOrder()
The sort order.
|
String |
getSourceArn()
A filter that returns only associations with the specified source ARN.
|
String |
getSourceType()
A filter that returns only associations with the specified source type.
|
int |
hashCode() |
void |
setAssociationType(String associationType)
A filter that returns only associations of the specified type.
|
void |
setCreatedAfter(Date createdAfter)
A filter that returns only associations created on or after the specified time.
|
void |
setCreatedBefore(Date createdBefore)
A filter that returns only associations created on or before the specified time.
|
void |
setDestinationArn(String destinationArn)
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
|
void |
setDestinationType(String destinationType)
A filter that returns only associations with the specified destination type.
|
void |
setMaxResults(Integer maxResults)
The maximum number of associations to return in the response.
|
void |
setNextToken(String nextToken)
If the previous call to
ListAssociations didn't return the full set of associations, the call
returns a token for getting the next set of associations. |
void |
setSortBy(String sortBy)
The property used to sort results.
|
void |
setSortOrder(String sortOrder)
The sort order.
|
void |
setSourceArn(String sourceArn)
A filter that returns only associations with the specified source ARN.
|
void |
setSourceType(String sourceType)
A filter that returns only associations with the specified source type.
|
String |
toString()
Returns a string representation of this object.
|
ListAssociationsRequest |
withAssociationType(AssociationEdgeType associationType)
A filter that returns only associations of the specified type.
|
ListAssociationsRequest |
withAssociationType(String associationType)
A filter that returns only associations of the specified type.
|
ListAssociationsRequest |
withCreatedAfter(Date createdAfter)
A filter that returns only associations created on or after the specified time.
|
ListAssociationsRequest |
withCreatedBefore(Date createdBefore)
A filter that returns only associations created on or before the specified time.
|
ListAssociationsRequest |
withDestinationArn(String destinationArn)
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
|
ListAssociationsRequest |
withDestinationType(String destinationType)
A filter that returns only associations with the specified destination type.
|
ListAssociationsRequest |
withMaxResults(Integer maxResults)
The maximum number of associations to return in the response.
|
ListAssociationsRequest |
withNextToken(String nextToken)
If the previous call to
ListAssociations didn't return the full set of associations, the call
returns a token for getting the next set of associations. |
ListAssociationsRequest |
withSortBy(SortAssociationsBy sortBy)
The property used to sort results.
|
ListAssociationsRequest |
withSortBy(String sortBy)
The property used to sort results.
|
ListAssociationsRequest |
withSortOrder(SortOrder sortOrder)
The sort order.
|
ListAssociationsRequest |
withSortOrder(String sortOrder)
The sort order.
|
ListAssociationsRequest |
withSourceArn(String sourceArn)
A filter that returns only associations with the specified source ARN.
|
ListAssociationsRequest |
withSourceType(String sourceType)
A filter that returns only associations with the specified source type.
|
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 setSourceArn(String sourceArn)
A filter that returns only associations with the specified source ARN.
sourceArn
- A filter that returns only associations with the specified source ARN.public String getSourceArn()
A filter that returns only associations with the specified source ARN.
public ListAssociationsRequest withSourceArn(String sourceArn)
A filter that returns only associations with the specified source ARN.
sourceArn
- A filter that returns only associations with the specified source ARN.public void setDestinationArn(String destinationArn)
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
destinationArn
- A filter that returns only associations with the specified destination Amazon Resource Name (ARN).public String getDestinationArn()
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
public ListAssociationsRequest withDestinationArn(String destinationArn)
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
destinationArn
- A filter that returns only associations with the specified destination Amazon Resource Name (ARN).public void setSourceType(String sourceType)
A filter that returns only associations with the specified source type.
sourceType
- A filter that returns only associations with the specified source type.public String getSourceType()
A filter that returns only associations with the specified source type.
public ListAssociationsRequest withSourceType(String sourceType)
A filter that returns only associations with the specified source type.
sourceType
- A filter that returns only associations with the specified source type.public void setDestinationType(String destinationType)
A filter that returns only associations with the specified destination type.
destinationType
- A filter that returns only associations with the specified destination type.public String getDestinationType()
A filter that returns only associations with the specified destination type.
public ListAssociationsRequest withDestinationType(String destinationType)
A filter that returns only associations with the specified destination type.
destinationType
- A filter that returns only associations with the specified destination type.public void setAssociationType(String associationType)
A filter that returns only associations of the specified type.
associationType
- A filter that returns only associations of the specified type.AssociationEdgeType
public String getAssociationType()
A filter that returns only associations of the specified type.
AssociationEdgeType
public ListAssociationsRequest withAssociationType(String associationType)
A filter that returns only associations of the specified type.
associationType
- A filter that returns only associations of the specified type.AssociationEdgeType
public ListAssociationsRequest withAssociationType(AssociationEdgeType associationType)
A filter that returns only associations of the specified type.
associationType
- A filter that returns only associations of the specified type.AssociationEdgeType
public void setCreatedAfter(Date createdAfter)
A filter that returns only associations created on or after the specified time.
createdAfter
- A filter that returns only associations created on or after the specified time.public Date getCreatedAfter()
A filter that returns only associations created on or after the specified time.
public ListAssociationsRequest withCreatedAfter(Date createdAfter)
A filter that returns only associations created on or after the specified time.
createdAfter
- A filter that returns only associations created on or after the specified time.public void setCreatedBefore(Date createdBefore)
A filter that returns only associations created on or before the specified time.
createdBefore
- A filter that returns only associations created on or before the specified time.public Date getCreatedBefore()
A filter that returns only associations created on or before the specified time.
public ListAssociationsRequest withCreatedBefore(Date createdBefore)
A filter that returns only associations created on or before the specified time.
createdBefore
- A filter that returns only associations created on or before the specified time.public void setSortBy(String sortBy)
The property used to sort results. The default value is CreationTime
.
sortBy
- The property used to sort results. The default value is CreationTime
.SortAssociationsBy
public String getSortBy()
The property used to sort results. The default value is CreationTime
.
CreationTime
.SortAssociationsBy
public ListAssociationsRequest withSortBy(String sortBy)
The property used to sort results. The default value is CreationTime
.
sortBy
- The property used to sort results. The default value is CreationTime
.SortAssociationsBy
public ListAssociationsRequest withSortBy(SortAssociationsBy sortBy)
The property used to sort results. The default value is CreationTime
.
sortBy
- The property used to sort results. The default value is CreationTime
.SortAssociationsBy
public void setSortOrder(String sortOrder)
The sort order. The default value is Descending
.
sortOrder
- The sort order. The default value is Descending
.SortOrder
public String getSortOrder()
The sort order. The default value is Descending
.
Descending
.SortOrder
public ListAssociationsRequest withSortOrder(String sortOrder)
The sort order. The default value is Descending
.
sortOrder
- The sort order. The default value is Descending
.SortOrder
public ListAssociationsRequest withSortOrder(SortOrder sortOrder)
The sort order. The default value is Descending
.
sortOrder
- The sort order. The default value is Descending
.SortOrder
public void setNextToken(String nextToken)
If the previous call to ListAssociations
didn't return the full set of associations, the call
returns a token for getting the next set of associations.
nextToken
- If the previous call to ListAssociations
didn't return the full set of associations, the call
returns a token for getting the next set of associations.public String getNextToken()
If the previous call to ListAssociations
didn't return the full set of associations, the call
returns a token for getting the next set of associations.
ListAssociations
didn't return the full set of associations, the
call returns a token for getting the next set of associations.public ListAssociationsRequest withNextToken(String nextToken)
If the previous call to ListAssociations
didn't return the full set of associations, the call
returns a token for getting the next set of associations.
nextToken
- If the previous call to ListAssociations
didn't return the full set of associations, the call
returns a token for getting the next set of associations.public void setMaxResults(Integer maxResults)
The maximum number of associations to return in the response. The default value is 10.
maxResults
- The maximum number of associations to return in the response. The default value is 10.public Integer getMaxResults()
The maximum number of associations to return in the response. The default value is 10.
public ListAssociationsRequest withMaxResults(Integer maxResults)
The maximum number of associations to return in the response. The default value is 10.
maxResults
- The maximum number of associations to return in the response. The default value is 10.public String toString()
toString
in class Object
Object.toString()
public ListAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()