Class ListEventSubscriptionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.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.toString()
Returns a string representation of this object; useful for testing and debugging.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.withSubscriptions
(Subscription... subscriptions) Details of the returned event subscriptions.withSubscriptions
(Collection<Subscription> subscriptions) Details of the returned event subscriptions.
-
Constructor Details
-
ListEventSubscriptionsResult
public ListEventSubscriptionsResult()
-
-
Method Details
-
getSubscriptions
Details of the returned event subscriptions.
- Returns:
- Details of the returned event subscriptions.
-
setSubscriptions
Details of the returned event subscriptions.
- Parameters:
subscriptions
- Details of the returned event subscriptions.
-
withSubscriptions
Details of the returned event 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
- Details of the returned event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubscriptions
Details of the returned event subscriptions.
- Parameters:
subscriptions
- Details of the returned event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- 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
-