@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPublishingDestinationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListPublishingDestinationsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPublishingDestinationsResult |
clone() |
boolean |
equals(Object obj) |
List<Destination> |
getDestinations()
A
Destinations object that includes information about each publishing destination returned. |
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
int |
hashCode() |
void |
setDestinations(Collection<Destination> destinations)
A
Destinations object that includes information about each publishing destination returned. |
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListPublishingDestinationsResult |
withDestinations(Collection<Destination> destinations)
A
Destinations object that includes information about each publishing destination returned. |
ListPublishingDestinationsResult |
withDestinations(Destination... destinations)
A
Destinations object that includes information about each publishing destination returned. |
ListPublishingDestinationsResult |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Destination> getDestinations()
A Destinations object that includes information about each publishing destination returned.
Destinations object that includes information about each publishing destination returned.public void setDestinations(Collection<Destination> destinations)
A Destinations object that includes information about each publishing destination returned.
destinations - A Destinations object that includes information about each publishing destination returned.public ListPublishingDestinationsResult withDestinations(Destination... destinations)
A Destinations object that includes information about each publishing destination returned.
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 - A Destinations object that includes information about each publishing destination returned.public ListPublishingDestinationsResult withDestinations(Collection<Destination> destinations)
A Destinations object that includes information about each publishing destination returned.
destinations - A Destinations object that includes information about each publishing destination returned.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken value
returned from the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
NextToken
value returned from the previous request to continue listing results after the first page.public ListPublishingDestinationsResult withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken value
returned from the previous request to continue listing results after the first page.public String toString()
toString in class ObjectObject.toString()public ListPublishingDestinationsResult clone()