Class ListSubscriptionsResult
- All Implemented Interfaces:
Serializable,Cloneable
Response for ListSubscriptions action
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanToken to pass along to the nextListSubscriptionsrequest.A list of subscriptions.inthashCode()voidsetNextToken(String nextToken) Token to pass along to the nextListSubscriptionsrequest.voidsetSubscriptions(Collection<Subscription> subscriptions) A list of subscriptions.toString()Returns a string representation of this object; useful for testing and debugging.withNextToken(String nextToken) Token to pass along to the nextListSubscriptionsrequest.withSubscriptions(Subscription... subscriptions) A list of subscriptions.withSubscriptions(Collection<Subscription> subscriptions) A list of subscriptions.
-
Constructor Details
-
ListSubscriptionsResult
public ListSubscriptionsResult()
-
-
Method Details
-
getSubscriptions
A list of subscriptions.
- Returns:
- A list of subscriptions.
-
setSubscriptions
A list of subscriptions.
- Parameters:
subscriptions- A list of subscriptions.
-
withSubscriptions
A list of subscriptions.
NOTE: This method appends the values to the existing list (if any). Use
setSubscriptions(java.util.Collection)orwithSubscriptions(java.util.Collection)if you want to override the existing values.- Parameters:
subscriptions- A list of subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubscriptions
A list of subscriptions.
- Parameters:
subscriptions- A list of subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
Token to pass along to the next
ListSubscriptionsrequest. This element is returned if there are more subscriptions to retrieve.- Parameters:
nextToken- Token to pass along to the nextListSubscriptionsrequest. This element is returned if there are more subscriptions to retrieve.
-
getNextToken
Token to pass along to the next
ListSubscriptionsrequest. This element is returned if there are more subscriptions to retrieve.- Returns:
- Token to pass along to the next
ListSubscriptionsrequest. This element is returned if there are more subscriptions to retrieve.
-
withNextToken
Token to pass along to the next
ListSubscriptionsrequest. This element is returned if there are more subscriptions to retrieve.- Parameters:
nextToken- Token to pass along to the nextListSubscriptionsrequest. This element is returned if there are more subscriptions to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-