public class DescribeDestinationsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeDestinationsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeDestinationsResult |
clone() |
boolean |
equals(Object obj) |
List<Destination> |
getDestinations()
Returns the value of the Destinations property for this object.
|
String |
getNextToken()
Returns the value of the NextToken property for this object.
|
int |
hashCode() |
void |
setDestinations(Collection<Destination> destinations)
Sets the value of the Destinations property for this object.
|
void |
setNextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDestinationsResult |
withDestinations(Collection<Destination> destinations)
Sets the value of the Destinations property for this object.
|
DescribeDestinationsResult |
withDestinations(Destination... destinations)
Sets the value of the Destinations property for this object.
|
DescribeDestinationsResult |
withNextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
public List<Destination> getDestinations()
public void setDestinations(Collection<Destination> destinations)
destinations - The new value for the Destinations property for this object.public DescribeDestinationsResult withDestinations(Destination... 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 new value for the Destinations property for this object.public DescribeDestinationsResult withDestinations(Collection<Destination> destinations)
destinations - The new value for the Destinations property for this object.public void setNextToken(String nextToken)
nextToken - The new value for the NextToken property for this object.public String getNextToken()
public DescribeDestinationsResult withNextToken(String nextToken)
nextToken - The new value for the NextToken property for this object.public String toString()
toString in class ObjectObject.toString()public DescribeDestinationsResult clone()
Copyright © 2015. All rights reserved.