@Generated(value="software.amazon.awssdk:codegen") public final class GetAlarmsRequest extends LightsailRequest implements ToCopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAlarmsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alarmName()
The name of the alarm.
|
static GetAlarmsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
monitoredResourceName()
The name of the Lightsail resource being monitored by the alarm.
|
String |
pageToken()
The token to advance to the next page of results from your request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAlarmsRequest.Builder> |
serializableBuilderClass() |
GetAlarmsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String alarmName()
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 final 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.
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 final 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.
Specify a monitored resource name to return information about all alarms for a specific resource.
public GetAlarmsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>toBuilder in class LightsailRequestpublic static GetAlarmsRequest.Builder builder()
public static Class<? extends GetAlarmsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.