@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAlertsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListAlertsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAlertsResult |
clone() |
boolean |
equals(Object obj) |
List<Alert> |
getItems()
An array of alerts that are associated with this resource.
|
String |
getNextToken()
Pagination token from the list request.
|
int |
hashCode() |
void |
setItems(Collection<Alert> items)
An array of alerts that are associated with this resource.
|
void |
setNextToken(String nextToken)
Pagination token from the list request.
|
String |
toString()
Returns a string representation of this object.
|
ListAlertsResult |
withItems(Alert... items)
An array of alerts that are associated with this resource.
|
ListAlertsResult |
withItems(Collection<Alert> items)
An array of alerts that are associated with this resource.
|
ListAlertsResult |
withNextToken(String nextToken)
Pagination token from the list request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Alert> getItems()
An array of alerts that are associated with this resource.
public void setItems(Collection<Alert> items)
An array of alerts that are associated with this resource.
items - An array of alerts that are associated with this resource.public ListAlertsResult withItems(Alert... items)
An array of alerts that are associated with this resource.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - An array of alerts that are associated with this resource.public ListAlertsResult withItems(Collection<Alert> items)
An array of alerts that are associated with this resource.
items - An array of alerts that are associated with this resource.public void setNextToken(String nextToken)
Pagination token from the list request. Use the token to fetch the next page of results.
nextToken - Pagination token from the list request. Use the token to fetch the next page of results.public String getNextToken()
Pagination token from the list request. Use the token to fetch the next page of results.
public ListAlertsResult withNextToken(String nextToken)
Pagination token from the list request. Use the token to fetch the next page of results.
nextToken - Pagination token from the list request. Use the token to fetch the next page of results.public String toString()
toString in class ObjectObject.toString()public ListAlertsResult clone()
Copyright © 2022. All rights reserved.