Class ListSubscriptionsByTopicResult
- All Implemented Interfaces:
Serializable,Cloneable
Response for ListSubscriptionsByTopic action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanToken to pass along to the nextListSubscriptionsByTopicrequest.A list of subscriptions.inthashCode()voidsetNextToken(String nextToken) Token to pass along to the nextListSubscriptionsByTopicrequest.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 nextListSubscriptionsByTopicrequest.withSubscriptions(Subscription... subscriptions) A list of subscriptions.withSubscriptions(Collection<Subscription> subscriptions) A list of subscriptions.
-
Constructor Details
-
ListSubscriptionsByTopicResult
public ListSubscriptionsByTopicResult()
-
-
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
ListSubscriptionsByTopicrequest. This element is returned if there are more subscriptions to retrieve.- Parameters:
nextToken- Token to pass along to the nextListSubscriptionsByTopicrequest. This element is returned if there are more subscriptions to retrieve.
-
getNextToken
Token to pass along to the next
ListSubscriptionsByTopicrequest. This element is returned if there are more subscriptions to retrieve.- Returns:
- Token to pass along to the next
ListSubscriptionsByTopicrequest. This element is returned if there are more subscriptions to retrieve.
-
withNextToken
Token to pass along to the next
ListSubscriptionsByTopicrequest. This element is returned if there are more subscriptions to retrieve.- Parameters:
nextToken- Token to pass along to the nextListSubscriptionsByTopicrequest. 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
-