Class GetAlarmsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.GetAlarmsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetAlarmsRequest extends LightsailRequest implements ToCopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAlarmsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalarmName()The name of the alarm.static GetAlarmsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmonitoredResourceName()The name of the Lightsail resource being monitored by the alarm.StringpageToken()The token to advance to the next page of results from your request.List<SdkField<?>>sdkFields()static Class<? extends GetAlarmsRequest.Builder>serializableBuilderClass()GetAlarmsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
alarmName
public final String alarmName()
The name of the alarm.
Specify an alarm name to return information about a specific alarm.
- Returns:
- The name of the alarm.
Specify an alarm name to return information about a specific alarm.
-
pageToken
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
GetAlarmsrequest. 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.- Returns:
- The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetAlarmsrequest. 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.
-
monitoredResourceName
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.
- Returns:
- 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.
-
toBuilder
public GetAlarmsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAlarmsRequest.Builder,GetAlarmsRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static GetAlarmsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAlarmsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-