public class ListSubscriptionsResult extends Object implements Serializable
Response for ListSubscriptions action
| Constructor and Description |
|---|
ListSubscriptionsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
Token to pass along to the next
ListSubscriptions request. |
List<Subscription> |
getSubscriptions()
A list of subscriptions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Token to pass along to the next
ListSubscriptions request. |
void |
setSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListSubscriptionsResult |
withNextToken(String nextToken)
Token to pass along to the next
ListSubscriptions request. |
ListSubscriptionsResult |
withSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
|
ListSubscriptionsResult |
withSubscriptions(Subscription... subscriptions)
A list of subscriptions.
|
public List<Subscription> getSubscriptions()
A list of subscriptions.
A list of subscriptions.
public void setSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
subscriptions - A list of subscriptions.
public ListSubscriptionsResult withSubscriptions(Subscription... subscriptions)
A list of subscriptions.
Returns a reference to this object so that method calls can be chained together.
subscriptions - A list of subscriptions.
public ListSubscriptionsResult withSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
Returns a reference to this object so that method calls can be chained together.
subscriptions - A list of subscriptions.
public String getNextToken()
Token to pass along to the next ListSubscriptions request.
This element is returned if there are more subscriptions to retrieve.
Token to pass along to the next ListSubscriptions
request. This element is returned if there are more subscriptions
to retrieve.
public void setNextToken(String nextToken)
Token to pass along to the next ListSubscriptions request.
This element is returned if there are more subscriptions to retrieve.
nextToken -
Token to pass along to the next ListSubscriptions
request. This element is returned if there are more
subscriptions to retrieve.
public ListSubscriptionsResult withNextToken(String nextToken)
Token to pass along to the next ListSubscriptions request.
This element is returned if there are more subscriptions to retrieve.
Returns a reference to this object so that method calls can be chained together.
nextToken -
Token to pass along to the next ListSubscriptions
request. This element is returned if there are more
subscriptions to retrieve.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.