@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAlarmsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetAlarmsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetAlarmsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlarmName()
The name of the alarm.
|
String |
getMonitoredResourceName()
The name of the Lightsail resource being monitored by the alarm.
|
String |
getPageToken()
The token to advance to the next page of results from your request.
|
int |
hashCode() |
void |
setAlarmName(String alarmName)
The name of the alarm.
|
void |
setMonitoredResourceName(String monitoredResourceName)
The name of the Lightsail resource being monitored by the alarm.
|
void |
setPageToken(String pageToken)
The token to advance to the next page of results from your request.
|
String |
toString()
Returns a string representation of this object.
|
GetAlarmsRequest |
withAlarmName(String alarmName)
The name of the alarm.
|
GetAlarmsRequest |
withMonitoredResourceName(String monitoredResourceName)
The name of the Lightsail resource being monitored by the alarm.
|
GetAlarmsRequest |
withPageToken(String pageToken)
The token to advance to the next page of results from your request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAlarmName(String alarmName)
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
alarmName - The name of the alarm.
Specify an alarm name to return information about a specific alarm.
public String getAlarmName()
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
Specify an alarm name to return information about a specific alarm.
public GetAlarmsRequest withAlarmName(String alarmName)
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
alarmName - The name of the alarm.
Specify an alarm name to return information about a specific alarm.
public void setPageToken(String pageToken)
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetAlarms request. If your results are paginated, the
response will return a next page token that you can specify as the page token in a subsequent request.
pageToken - The token to advance to the next page of results from your request.
To get a page token, perform an initial GetAlarms request. If your results are paginated, the
response will return a next page token that you can specify as the page token in a subsequent request.
public String getPageToken()
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetAlarms request. If your results are paginated, the
response will return a next page token that you can specify as the page token in a subsequent request.
To get a page token, perform an initial GetAlarms request. If your results are paginated,
the response will return a next page token that you can specify as the page token in a subsequent
request.
public GetAlarmsRequest withPageToken(String pageToken)
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetAlarms request. If your results are paginated, the
response will return a next page token that you can specify as the page token in a subsequent request.
pageToken - The token to advance to the next page of results from your request.
To get a page token, perform an initial GetAlarms request. If your results are paginated, the
response will return a next page token that you can specify as the page token in a subsequent request.
public void setMonitoredResourceName(String monitoredResourceName)
The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
monitoredResourceName - The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
public String getMonitoredResourceName()
The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
Specify a monitored resource name to return information about all alarms for a specific resource.
public GetAlarmsRequest withMonitoredResourceName(String monitoredResourceName)
The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
monitoredResourceName - The name of the Lightsail resource being monitored by the alarm.
Specify a monitored resource name to return information about all alarms for a specific resource.
public String toString()
toString in class ObjectObject.toString()public GetAlarmsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()