@Generated(value="software.amazon.awssdk:codegen") public final class CreateAlarmModelRequest extends IotEventsRequest implements ToCopyableBuilder<CreateAlarmModelRequest.Builder,CreateAlarmModelRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAlarmModelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AlarmCapabilities |
alarmCapabilities()
Contains the configuration information of alarm state changes.
|
AlarmEventActions |
alarmEventActions()
Contains information about one or more alarm actions.
|
String |
alarmModelDescription()
A description that tells you what the alarm model detects.
|
String |
alarmModelName()
A unique name that helps you identify the alarm model.
|
AlarmNotification |
alarmNotification()
Contains information about one or more notification actions.
|
AlarmRule |
alarmRule()
Defines when your alarm is invoked.
|
static CreateAlarmModelRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
key()
An input attribute used as a key to create an alarm.
|
String |
roleArn()
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAlarmModelRequest.Builder> |
serializableBuilderClass() |
Integer |
severity()
A non-negative integer that reflects the severity level of the alarm.
|
List<Tag> |
tags()
A list of key-value pairs that contain metadata for the alarm model.
|
CreateAlarmModelRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String alarmModelName()
A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.
public final String alarmModelDescription()
A description that tells you what the alarm model detects.
public final String roleArn()
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
public final boolean hasTags()
public final List<Tag> tags()
A list of key-value pairs that contain metadata for the alarm model. The tags help you manage the alarm model. For more information, see Tagging your AWS IoT Events resources in the AWS IoT Events Developer Guide.
You can create up to 50 tags for one alarm model.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
You can create up to 50 tags for one alarm model.
public final String key()
An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.
public final Integer severity()
A non-negative integer that reflects the severity level of the alarm.
public final AlarmRule alarmRule()
Defines when your alarm is invoked.
public final AlarmNotification alarmNotification()
Contains information about one or more notification actions.
public final AlarmEventActions alarmEventActions()
Contains information about one or more alarm actions.
public final AlarmCapabilities alarmCapabilities()
Contains the configuration information of alarm state changes.
public CreateAlarmModelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAlarmModelRequest.Builder,CreateAlarmModelRequest>toBuilder in class IotEventsRequestpublic static CreateAlarmModelRequest.Builder builder()
public static Class<? extends CreateAlarmModelRequest.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 © 2021. All rights reserved.