public class ListEventSubscriptionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
private java.util.List<Subscription> |
subscriptions
Details of the returned event subscriptions.
|
Constructor and Description |
---|
ListEventSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
ListEventSubscriptionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.List<Subscription> |
getSubscriptions()
Details of the returned event subscriptions.
|
int |
hashCode() |
void |
setNextToken(java.lang.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(java.util.Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListEventSubscriptionsResult |
withNextToken(java.lang.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(java.util.Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
|
ListEventSubscriptionsResult |
withSubscriptions(Subscription... subscriptions)
Details of the returned event subscriptions.
|
private java.util.List<Subscription> subscriptions
Details of the returned event subscriptions.
private java.lang.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.
public java.util.List<Subscription> getSubscriptions()
Details of the returned event subscriptions.
public void setSubscriptions(java.util.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(java.util.Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
subscriptions
- Details of the returned event subscriptions.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListEventSubscriptionsResult clone()
clone
in class java.lang.Object