@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNotificationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNotificationsResult() |
Modifier and Type | Method and Description |
---|---|
ListNotificationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When the number of notifications is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of notifications, the
response includes a pagination token named NextToken . |
List<NotificationOutput> |
getNotifications()
The results of the
ListNotifications action. |
int |
hashCode() |
void |
setNextToken(String nextToken)
When the number of notifications is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of notifications, the
response includes a pagination token named NextToken . |
void |
setNotifications(Collection<NotificationOutput> notifications)
The results of the
ListNotifications action. |
String |
toString()
Returns a string representation of this object.
|
ListNotificationsResult |
withNextToken(String nextToken)
When the number of notifications is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of notifications, the
response includes a pagination token named NextToken . |
ListNotificationsResult |
withNotifications(Collection<NotificationOutput> notifications)
The results of the
ListNotifications action. |
ListNotificationsResult |
withNotifications(NotificationOutput... notifications)
The results of the
ListNotifications action. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
When the number of notifications is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of notifications, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
nextToken
- When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of notifications, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListNotifications
to list the next
set of notifications.public String getNextToken()
When the number of notifications is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of notifications, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of notifications, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListNotifications
to list the next
set of notifications.public ListNotificationsResult withNextToken(String nextToken)
When the number of notifications is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of notifications, the
response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListNotifications
to list the next set of notifications.
nextToken
- When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number
of notifications, the response includes a pagination token named NextToken
. You can specify
this NextToken
value in a subsequent call to ListNotifications
to list the next
set of notifications.public List<NotificationOutput> getNotifications()
The results of the ListNotifications
action.
ListNotifications
action.public void setNotifications(Collection<NotificationOutput> notifications)
The results of the ListNotifications
action.
notifications
- The results of the ListNotifications
action.public ListNotificationsResult withNotifications(NotificationOutput... notifications)
The results of the ListNotifications
action.
NOTE: This method appends the values to the existing list (if any). Use
setNotifications(java.util.Collection)
or withNotifications(java.util.Collection)
if you want
to override the existing values.
notifications
- The results of the ListNotifications
action.public ListNotificationsResult withNotifications(Collection<NotificationOutput> notifications)
The results of the ListNotifications
action.
notifications
- The results of the ListNotifications
action.public String toString()
toString
in class Object
Object.toString()
public ListNotificationsResult clone()