@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSubscribersForNotificationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response of DescribeSubscribersForNotification
Constructor and Description |
---|
DescribeSubscribersForNotificationResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSubscribersForNotificationResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token in the service response that indicates the next set of results that you can retrieve.
|
List<Subscriber> |
getSubscribers()
A list of subscribers that are associated with a notification.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
|
void |
setSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that are associated with a notification.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSubscribersForNotificationResult |
withNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
|
DescribeSubscribersForNotificationResult |
withSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that are associated with a notification.
|
DescribeSubscribersForNotificationResult |
withSubscribers(Subscriber... subscribers)
A list of subscribers that are associated with a notification.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeSubscribersForNotificationResult()
public List<Subscriber> getSubscribers()
A list of subscribers that are associated with a notification.
public void setSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that are associated with a notification.
subscribers
- A list of subscribers that are associated with a notification.public DescribeSubscribersForNotificationResult withSubscribers(Subscriber... subscribers)
A list of subscribers that are associated with a notification.
NOTE: This method appends the values to the existing list (if any). Use
setSubscribers(java.util.Collection)
or withSubscribers(java.util.Collection)
if you want to
override the existing values.
subscribers
- A list of subscribers that are associated with a notification.public DescribeSubscribersForNotificationResult withSubscribers(Collection<Subscriber> subscribers)
A list of subscribers that are associated with a notification.
subscribers
- A list of subscribers that are associated with a notification.public void setNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
nextToken
- The pagination token in the service response that indicates the next set of results that you can retrieve.public String getNextToken()
The pagination token in the service response that indicates the next set of results that you can retrieve.
public DescribeSubscribersForNotificationResult withNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
nextToken
- The pagination token in the service response that indicates the next set of results that you can retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeSubscribersForNotificationResult clone()