@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<AlertSummary> |
getAlertSummaryList()
Contains information about an alert.
|
String |
getNextToken()
If the response is truncated, the service returns this token.
|
int |
hashCode() |
void |
setAlertSummaryList(Collection<AlertSummary> alertSummaryList)
Contains information about an alert.
|
void |
setNextToken(String nextToken)
If the response is truncated, the service returns this token.
|
String |
toString()
Returns a string representation of this object.
|
ListAlertsResult |
withAlertSummaryList(AlertSummary... alertSummaryList)
Contains information about an alert.
|
ListAlertsResult |
withAlertSummaryList(Collection<AlertSummary> alertSummaryList)
Contains information about an alert.
|
ListAlertsResult |
withNextToken(String nextToken)
If the response is truncated, the service returns this token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AlertSummary> getAlertSummaryList()
Contains information about an alert.
public void setAlertSummaryList(Collection<AlertSummary> alertSummaryList)
Contains information about an alert.
alertSummaryList
- Contains information about an alert.public ListAlertsResult withAlertSummaryList(AlertSummary... alertSummaryList)
Contains information about an alert.
NOTE: This method appends the values to the existing list (if any). Use
setAlertSummaryList(java.util.Collection)
or withAlertSummaryList(java.util.Collection)
if you
want to override the existing values.
alertSummaryList
- Contains information about an alert.public ListAlertsResult withAlertSummaryList(Collection<AlertSummary> alertSummaryList)
Contains information about an alert.
alertSummaryList
- Contains information about an alert.public void setNextToken(String nextToken)
If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.
nextToken
- If the response is truncated, the service returns this token. To retrieve the next set of results, use
this token in the next request.public String getNextToken()
If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.
public ListAlertsResult withNextToken(String nextToken)
If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.
nextToken
- If the response is truncated, the service returns this token. To retrieve the next set of results, use
this token in the next request.public String toString()
toString
in class Object
Object.toString()
public ListAlertsResult clone()