@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAlarmsRequest extends CloudWatchRequest implements ToCopyableBuilder<DescribeAlarmsRequest.Builder,DescribeAlarmsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAlarmsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actionPrefix()
The action name prefix.
|
String |
alarmNamePrefix()
The alarm name prefix.
|
List<String> |
alarmNames()
The names of the alarms.
|
static DescribeAlarmsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAlarmNames()
Returns true if the AlarmNames property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
Integer |
maxRecords()
The maximum number of alarm descriptions to retrieve.
|
String |
nextToken()
The token returned by a previous call to indicate that there is more data available.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAlarmsRequest.Builder> |
serializableBuilderClass() |
StateValue |
stateValue()
The state value to be used in matching alarms.
|
String |
stateValueAsString()
The state value to be used in matching alarms.
|
DescribeAlarmsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasAlarmNames()
public List<String> alarmNames()
The names of the alarms.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAlarmNames() to see if a value was sent in this field.
public String alarmNamePrefix()
The alarm name prefix. If this parameter is specified, you cannot specify AlarmNames.
AlarmNames.public StateValue stateValue()
The state value to be used in matching alarms.
If the service returns an enum value that is not available in the current SDK version, stateValue will
return StateValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateValueAsString().
StateValuepublic String stateValueAsString()
The state value to be used in matching alarms.
If the service returns an enum value that is not available in the current SDK version, stateValue will
return StateValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateValueAsString().
StateValuepublic String actionPrefix()
The action name prefix.
public Integer maxRecords()
The maximum number of alarm descriptions to retrieve.
public String nextToken()
The token returned by a previous call to indicate that there is more data available.
public DescribeAlarmsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAlarmsRequest.Builder,DescribeAlarmsRequest>toBuilder in class CloudWatchRequestpublic static DescribeAlarmsRequest.Builder builder()
public static Class<? extends DescribeAlarmsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.