public class DescribeDestinationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeDestinations operation
.
Returns all the destinations that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by destination name.
By default, this operation returns up to 50 destinations. If there
are more destinations to list, the response would contain a
nextToken
value in the response body. You can also limit
the number of destinations returned in the response by specifying the
limit
parameter in the request.
NOOP
Constructor and Description |
---|
DescribeDestinationsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDestinationsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDestinationNamePrefix()
Will only return destinations that match the provided
destinationNamePrefix.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setDestinationNamePrefix(String destinationNamePrefix)
Will only return destinations that match the provided
destinationNamePrefix.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDestinationsRequest |
withDestinationNamePrefix(String destinationNamePrefix)
Will only return destinations that match the provided
destinationNamePrefix.
|
DescribeDestinationsRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
DescribeDestinationsRequest |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDestinationNamePrefix()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setDestinationNamePrefix(String destinationNamePrefix)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
destinationNamePrefix
- Will only return destinations that match the provided
destinationNamePrefix. If you don't specify a value, no prefix is
applied.public DescribeDestinationsRequest withDestinationNamePrefix(String destinationNamePrefix)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
destinationNamePrefix
- Will only return destinations that match the provided
destinationNamePrefix. If you don't specify a value, no prefix is
applied.public String getNextToken()
Constraints:
Length: 1 -
public void setNextToken(String nextToken)
Constraints:
Length: 1 -
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public DescribeDestinationsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public Integer getLimit()
Constraints:
Range: 1 - 50
public void setLimit(Integer limit)
Constraints:
Range: 1 - 50
limit
- The maximum number of results to return.public DescribeDestinationsRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
limit
- The maximum number of results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeDestinationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.