@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDestinationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeDestinationsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeDestinationsResult |
clone() |
boolean |
equals(Object obj) |
List<Destination> |
getDestinations()
The destinations.
|
String |
getNextToken() |
int |
hashCode() |
void |
setDestinations(Collection<Destination> destinations)
The destinations.
|
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeDestinationsResult |
withDestinations(Collection<Destination> destinations)
The destinations.
|
DescribeDestinationsResult |
withDestinations(Destination... destinations)
The destinations.
|
DescribeDestinationsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Destination> getDestinations()
The destinations.
public void setDestinations(Collection<Destination> destinations)
The destinations.
destinations - The destinations.public DescribeDestinationsResult withDestinations(Destination... destinations)
The destinations.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection) or withDestinations(java.util.Collection) if you want to
override the existing values.
destinations - The destinations.public DescribeDestinationsResult withDestinations(Collection<Destination> destinations)
The destinations.
destinations - The destinations.public void setNextToken(String nextToken)
nextToken - public String getNextToken()
public DescribeDestinationsResult withNextToken(String nextToken)
nextToken - public String toString()
toString in class ObjectObject.toString()public DescribeDestinationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.