@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAlarmsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListAlarmsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAlarmsResult |
clone() |
boolean |
equals(Object obj) |
List<AlarmSummary> |
getAlarmSummaries()
A list that summarizes each alarm.
|
String |
getNextToken()
The token that you can use to return the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setAlarmSummaries(Collection<AlarmSummary> alarmSummaries)
A list that summarizes each alarm.
|
void |
setNextToken(String nextToken)
The token that you can use to return the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListAlarmsResult |
withAlarmSummaries(AlarmSummary... alarmSummaries)
A list that summarizes each alarm.
|
ListAlarmsResult |
withAlarmSummaries(Collection<AlarmSummary> alarmSummaries)
A list that summarizes each alarm.
|
ListAlarmsResult |
withNextToken(String nextToken)
The token that you can use to return the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<AlarmSummary> getAlarmSummaries()
A list that summarizes each alarm.
public void setAlarmSummaries(Collection<AlarmSummary> alarmSummaries)
A list that summarizes each alarm.
alarmSummaries - A list that summarizes each alarm.public ListAlarmsResult withAlarmSummaries(AlarmSummary... alarmSummaries)
A list that summarizes each alarm.
NOTE: This method appends the values to the existing list (if any). Use
setAlarmSummaries(java.util.Collection) or withAlarmSummaries(java.util.Collection) if you want
to override the existing values.
alarmSummaries - A list that summarizes each alarm.public ListAlarmsResult withAlarmSummaries(Collection<AlarmSummary> alarmSummaries)
A list that summarizes each alarm.
alarmSummaries - A list that summarizes each alarm.public void setNextToken(String nextToken)
The token that you can use to return the next set of results, or null if there are no more results.
nextToken - The token that you can use to return the next set of results, or null if there are no more
results.public String getNextToken()
The token that you can use to return the next set of results, or null if there are no more results.
null if there are no more
results.public ListAlarmsResult withNextToken(String nextToken)
The token that you can use to return the next set of results, or null if there are no more results.
nextToken - The token that you can use to return the next set of results, or null if there are no more
results.public String toString()
toString in class ObjectObject.toString()public ListAlarmsResult clone()
Copyright © 2022. All rights reserved.