@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.
|
DescribeDestinationsResult |
withDestinations(Collection<Destination> destinations)
The destinations.
|
DescribeDestinationsResult |
withDestinations(Destination... destinations)
The destinations.
|
DescribeDestinationsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public DescribeDestinationsResult clone()