public class DescribeDestinationsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists all your destinations. The results are ASCII-sorted by destination name.
Constructor and Description |
---|
DescribeDestinationsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestinationNamePrefix()
The prefix to match.
|
java.lang.Integer |
getLimit()
The maximum number of items returned.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setDestinationNamePrefix(java.lang.String destinationNamePrefix)
The prefix to match.
|
void |
setLimit(java.lang.Integer limit)
The maximum number of items returned.
|
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.
|
DescribeDestinationsRequest |
withDestinationNamePrefix(java.lang.String destinationNamePrefix)
The prefix to match.
|
DescribeDestinationsRequest |
withLimit(java.lang.Integer limit)
The maximum number of items returned.
|
DescribeDestinationsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getDestinationNamePrefix()
The prefix to match. If you don't specify a value, no prefix filter is applied.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
The prefix to match. If you don't specify a value, no prefix filter is applied.
public void setDestinationNamePrefix(java.lang.String destinationNamePrefix)
The prefix to match. If you don't specify a value, no prefix filter is applied.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
destinationNamePrefix
- The prefix to match. If you don't specify a value, no prefix filter is applied.
public DescribeDestinationsRequest withDestinationNamePrefix(java.lang.String destinationNamePrefix)
The prefix to match. If you don't specify a value, no prefix filter is applied.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
destinationNamePrefix
- The prefix to match. If you don't specify a value, no prefix filter is applied.
public java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Length: 1 -
The token for the next set of items to return. (You received this token from a previous call.)
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.)
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public DescribeDestinationsRequest withNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.Integer getLimit()
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Constraints:
Range: 1 - 50
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public void setLimit(java.lang.Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Constraints:
Range: 1 - 50
limit
- The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public DescribeDestinationsRequest withLimit(java.lang.Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
limit
- The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.