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