@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAlarmsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAlarmsResult() |
Modifier and Type | Method and Description |
---|---|
GetAlarmsResult |
clone() |
boolean |
equals(Object obj) |
List<Alarm> |
getAlarms()
An array of objects that describe the alarms.
|
String |
getNextPageToken()
The token to advance to the next page of results from your request.
|
int |
hashCode() |
void |
setAlarms(Collection<Alarm> alarms)
An array of objects that describe the alarms.
|
void |
setNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
String |
toString()
Returns a string representation of this object.
|
GetAlarmsResult |
withAlarms(Alarm... alarms)
An array of objects that describe the alarms.
|
GetAlarmsResult |
withAlarms(Collection<Alarm> alarms)
An array of objects that describe the alarms.
|
GetAlarmsResult |
withNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Alarm> getAlarms()
An array of objects that describe the alarms.
public void setAlarms(Collection<Alarm> alarms)
An array of objects that describe the alarms.
alarms
- An array of objects that describe the alarms.public GetAlarmsResult withAlarms(Alarm... alarms)
An array of objects that describe the alarms.
NOTE: This method appends the values to the existing list (if any). Use
setAlarms(java.util.Collection)
or withAlarms(java.util.Collection)
if you want to override the
existing values.
alarms
- An array of objects that describe the alarms.public GetAlarmsResult withAlarms(Collection<Alarm> alarms)
An array of objects that describe the alarms.
alarms
- An array of objects that describe the alarms.public void setNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetAlarms
request and specify the next page token
using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetAlarms
request and specify the next page
token using the pageToken
parameter.
public String getNextPageToken()
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetAlarms
request and specify the next page token
using the pageToken
parameter.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetAlarms
request and specify the next page
token using the pageToken
parameter.
public GetAlarmsResult withNextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetAlarms
request and specify the next page token
using the pageToken
parameter.
nextPageToken
- The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetAlarms
request and specify the next page
token using the pageToken
parameter.
public String toString()
toString
in class Object
Object.toString()
public GetAlarmsResult clone()