@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDestinationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDestinationsResult() |
Modifier and Type | Method and Description |
---|---|
ListDestinationsResult |
clone() |
boolean |
equals(Object obj) |
List<Destinations> |
getDestinationList()
The list of destinations.
|
String |
getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setDestinationList(Collection<Destinations> destinationList)
The list of destinations.
|
void |
setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListDestinationsResult |
withDestinationList(Collection<Destinations> destinationList)
The list of destinations.
|
ListDestinationsResult |
withDestinationList(Destinations... destinationList)
The list of destinations.
|
ListDestinationsResult |
withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListDestinationsResult withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public List<Destinations> getDestinationList()
The list of destinations.
public void setDestinationList(Collection<Destinations> destinationList)
The list of destinations.
destinationList
- The list of destinations.public ListDestinationsResult withDestinationList(Destinations... destinationList)
The list of destinations.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationList(java.util.Collection)
or withDestinationList(java.util.Collection)
if you
want to override the existing values.
destinationList
- The list of destinations.public ListDestinationsResult withDestinationList(Collection<Destinations> destinationList)
The list of destinations.
destinationList
- The list of destinations.public String toString()
toString
in class Object
Object.toString()
public ListDestinationsResult clone()