@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 obect that includes information about each publishing destination returned. |
String |
getNextToken()
A token to use for paginating results returned in the repsonse.
|
int |
hashCode() |
void |
setDestinations(Collection<Destination> destinations)
A
Destinations obect that includes information about each publishing destination returned. |
void |
setNextToken(String nextToken)
A token to use for paginating results returned in the repsonse.
|
String |
toString()
Returns a string representation of this object.
|
ListPublishingDestinationsResult |
withDestinations(Collection<Destination> destinations)
A
Destinations obect that includes information about each publishing destination returned. |
ListPublishingDestinationsResult |
withDestinations(Destination... destinations)
A
Destinations obect that includes information about each publishing destination returned. |
ListPublishingDestinationsResult |
withNextToken(String nextToken)
A token to use for paginating results returned in the repsonse.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Destination> getDestinations()
A Destinations
obect that includes information about each publishing destination returned.
Destinations
obect that includes information about each publishing destination returned.public void setDestinations(Collection<Destination> destinations)
A Destinations
obect that includes information about each publishing destination returned.
destinations
- A Destinations
obect that includes information about each publishing destination returned.public ListPublishingDestinationsResult withDestinations(Destination... destinations)
A Destinations
obect 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
obect that includes information about each publishing destination returned.public ListPublishingDestinationsResult withDestinations(Collection<Destination> destinations)
A Destinations
obect that includes information about each publishing destination returned.
destinations
- A Destinations
obect that includes information about each publishing destination returned.public void setNextToken(String nextToken)
A token to use for paginating results returned in the repsonse. 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 returned in the repsonse. 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 returned in the repsonse. 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 returned in the repsonse. 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 returned in the repsonse. 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 Object
Object.toString()
public ListPublishingDestinationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.