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