public class ListEventSubscriptionsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ListEventSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
ListEventSubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
List<Subscription> |
getSubscriptions()
Details of the returned event subscriptions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
void |
setSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListEventSubscriptionsResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this
parameter is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request.
|
ListEventSubscriptionsResult |
withSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
|
ListEventSubscriptionsResult |
withSubscriptions(Subscription... subscriptions)
Details of the returned event subscriptions.
|
public List<Subscription> getSubscriptions()
Details of the returned event subscriptions.
public void setSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
subscriptions
- Details of the returned event subscriptions.public ListEventSubscriptionsResult withSubscriptions(Subscription... subscriptions)
Details of the returned event subscriptions.
NOTE: This method appends the values to the existing list (if
any). Use setSubscriptions(java.util.Collection)
or
withSubscriptions(java.util.Collection)
if you want to override
the existing values.
subscriptions
- Details of the returned event subscriptions.public ListEventSubscriptionsResult withSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
subscriptions
- Details of the returned event subscriptions.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed,
this parameter is present in the response and contains the value
to use for the nextToken parameter in a subsequent
pagination request. If there is no more data to be listed, this
parameter is set to null.public String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public ListEventSubscriptionsResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed,
this parameter is present in the response and contains the value
to use for the nextToken parameter in a subsequent
pagination request. If there is no more data to be listed, this
parameter is set to null.public String toString()
toString
in class Object
Object.toString()
public ListEventSubscriptionsResult clone()
Copyright © 2018. All rights reserved.