@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSubscriptionTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListSubscriptionTargetsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListSubscriptionTargetsResult |
clone() |
boolean |
equals(Object obj) |
List<SubscriptionTargetSummary> |
getItems()
The results of the
ListSubscriptionTargets action. |
String |
getNextToken()
When the number of subscription targets is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number of
subscription targets, the response includes a pagination token named NextToken. |
int |
hashCode() |
void |
setItems(Collection<SubscriptionTargetSummary> items)
The results of the
ListSubscriptionTargets action. |
void |
setNextToken(String nextToken)
When the number of subscription targets is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number of
subscription targets, the response includes a pagination token named NextToken. |
String |
toString()
Returns a string representation of this object.
|
ListSubscriptionTargetsResult |
withItems(Collection<SubscriptionTargetSummary> items)
The results of the
ListSubscriptionTargets action. |
ListSubscriptionTargetsResult |
withItems(SubscriptionTargetSummary... items)
The results of the
ListSubscriptionTargets action. |
ListSubscriptionTargetsResult |
withNextToken(String nextToken)
When the number of subscription targets is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number of
subscription targets, the response includes a pagination token named NextToken. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SubscriptionTargetSummary> getItems()
The results of the ListSubscriptionTargets action.
ListSubscriptionTargets action.public void setItems(Collection<SubscriptionTargetSummary> items)
The results of the ListSubscriptionTargets action.
items - The results of the ListSubscriptionTargets action.public ListSubscriptionTargetsResult withItems(SubscriptionTargetSummary... items)
The results of the ListSubscriptionTargets action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - The results of the ListSubscriptionTargets action.public ListSubscriptionTargetsResult withItems(Collection<SubscriptionTargetSummary> items)
The results of the ListSubscriptionTargets action.
items - The results of the ListSubscriptionTargets action.public void setNextToken(String nextToken)
When the number of subscription targets is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number of
subscription targets, the response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to ListSubscriptionTargets to list the next set of
subscription targets.
nextToken - When the number of subscription targets is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of subscription targets, the response includes a pagination token named NextToken. You can
specify this NextToken value in a subsequent call to ListSubscriptionTargets to
list the next set of subscription targets.public String getNextToken()
When the number of subscription targets is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number of
subscription targets, the response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to ListSubscriptionTargets to list the next set of
subscription targets.
MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of subscription targets, the response includes a pagination token named NextToken. You can
specify this NextToken value in a subsequent call to ListSubscriptionTargets to
list the next set of subscription targets.public ListSubscriptionTargetsResult withNextToken(String nextToken)
When the number of subscription targets is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number of
subscription targets, the response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to ListSubscriptionTargets to list the next set of
subscription targets.
nextToken - When the number of subscription targets is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of subscription targets, the response includes a pagination token named NextToken. You can
specify this NextToken value in a subsequent call to ListSubscriptionTargets to
list the next set of subscription targets.public String toString()
toString in class ObjectObject.toString()public ListSubscriptionTargetsResult clone()