@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAlarmModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAlarmModelsResult() |
Modifier and Type | Method and Description |
---|---|
ListAlarmModelsResult |
clone() |
boolean |
equals(Object obj) |
List<AlarmModelSummary> |
getAlarmModelSummaries()
A list that summarizes each alarm model.
|
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 |
setAlarmModelSummaries(Collection<AlarmModelSummary> alarmModelSummaries)
A list that summarizes each alarm model.
|
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.
|
ListAlarmModelsResult |
withAlarmModelSummaries(AlarmModelSummary... alarmModelSummaries)
A list that summarizes each alarm model.
|
ListAlarmModelsResult |
withAlarmModelSummaries(Collection<AlarmModelSummary> alarmModelSummaries)
A list that summarizes each alarm model.
|
ListAlarmModelsResult |
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, setSdkResponseMetadata
public List<AlarmModelSummary> getAlarmModelSummaries()
A list that summarizes each alarm model.
public void setAlarmModelSummaries(Collection<AlarmModelSummary> alarmModelSummaries)
A list that summarizes each alarm model.
alarmModelSummaries
- A list that summarizes each alarm model.public ListAlarmModelsResult withAlarmModelSummaries(AlarmModelSummary... alarmModelSummaries)
A list that summarizes each alarm model.
NOTE: This method appends the values to the existing list (if any). Use
setAlarmModelSummaries(java.util.Collection)
or withAlarmModelSummaries(java.util.Collection)
if you want to override the existing values.
alarmModelSummaries
- A list that summarizes each alarm model.public ListAlarmModelsResult withAlarmModelSummaries(Collection<AlarmModelSummary> alarmModelSummaries)
A list that summarizes each alarm model.
alarmModelSummaries
- A list that summarizes each alarm model.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 ListAlarmModelsResult 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 Object
Object.toString()
public ListAlarmModelsResult clone()