public class DescribeDestinationsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeDestinationsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Destination> |
getDestinations()
The destinations.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setDestinations(java.util.Collection<Destination> destinations)
The destinations.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDestinationsResult |
withDestinations(java.util.Collection<Destination> destinations)
The destinations.
|
DescribeDestinationsResult |
withDestinations(Destination... destinations)
The destinations.
|
DescribeDestinationsResult |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
public java.util.List<Destination> getDestinations()
The destinations.
The destinations.
public void setDestinations(java.util.Collection<Destination> destinations)
The destinations.
destinations
- The destinations.
public DescribeDestinationsResult withDestinations(Destination... destinations)
The destinations.
Returns a reference to this object so that method calls can be chained together.
destinations
- The destinations.
public DescribeDestinationsResult withDestinations(java.util.Collection<Destination> destinations)
The destinations.
Returns a reference to this object so that method calls can be chained together.
destinations
- The destinations.
public java.lang.String getNextToken()
The token for the next set of items to return. The token expires after 24 hours.
Constraints:
Length: 1 -
The token for the next set of items to return. The token expires after 24 hours.
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. The token expires after 24 hours.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. The token expires after 24 hours.
public DescribeDestinationsResult withNextToken(java.lang.String nextToken)
The token for the next set of items to return. The token expires after 24 hours.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken
- The token for the next set of items to return. The token expires after 24 hours.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.