public class ListSubscriptionsByTopicResult
extends java.lang.Object
implements java.io.Serializable
Response for ListSubscriptionsByTopic action.
Constructor and Description |
---|
ListSubscriptionsByTopicResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
Token to pass along to the next
ListSubscriptionsByTopic
request. |
java.util.List<Subscription> |
getSubscriptions()
A list of subscriptions.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
Token to pass along to the next
ListSubscriptionsByTopic
request. |
void |
setSubscriptions(java.util.Collection<Subscription> subscriptions)
A list of subscriptions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListSubscriptionsByTopicResult |
withNextToken(java.lang.String nextToken)
Token to pass along to the next
ListSubscriptionsByTopic
request. |
ListSubscriptionsByTopicResult |
withSubscriptions(java.util.Collection<Subscription> subscriptions)
A list of subscriptions.
|
ListSubscriptionsByTopicResult |
withSubscriptions(Subscription... subscriptions)
A list of subscriptions.
|
public java.util.List<Subscription> getSubscriptions()
A list of subscriptions.
A list of subscriptions.
public void setSubscriptions(java.util.Collection<Subscription> subscriptions)
A list of subscriptions.
subscriptions
- A list of subscriptions.
public ListSubscriptionsByTopicResult 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 ListSubscriptionsByTopicResult withSubscriptions(java.util.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 java.lang.String getNextToken()
Token to pass along to the next ListSubscriptionsByTopic
request. This element is returned if there are more subscriptions to
retrieve.
Token to pass along to the next
ListSubscriptionsByTopic
request. This element is
returned if there are more subscriptions to retrieve.
public void setNextToken(java.lang.String nextToken)
Token to pass along to the next ListSubscriptionsByTopic
request. This element is returned if there are more subscriptions to
retrieve.
nextToken
-
Token to pass along to the next
ListSubscriptionsByTopic
request. This element is
returned if there are more subscriptions to retrieve.
public ListSubscriptionsByTopicResult withNextToken(java.lang.String nextToken)
Token to pass along to the next ListSubscriptionsByTopic
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
ListSubscriptionsByTopic
request. This element is
returned if there are more subscriptions to retrieve.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.