@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<Destination> |
getDestinations() |
String |
getNextToken() |
int |
hashCode() |
void |
setDestinations(Collection<Destination> destinations) |
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object.
|
ListDestinationsResult |
withDestinations(Collection<Destination> destinations) |
ListDestinationsResult |
withDestinations(Destination... destinations)
NOTE: This method appends the values to the existing list (if any).
|
ListDestinationsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
nextToken - public String getNextToken()
public ListDestinationsResult withNextToken(String nextToken)
nextToken - public List<Destination> getDestinations()
public void setDestinations(Collection<Destination> destinations)
destinations - public ListDestinationsResult 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 - public ListDestinationsResult withDestinations(Collection<Destination> destinations)
destinations - public String toString()
toString in class ObjectObject.toString()public ListDestinationsResult clone()
Copyright © 2023. All rights reserved.