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