public static interface CreateAlarmModelRequest.Builder extends IotEventsRequest.Builder, SdkPojo, CopyableBuilder<CreateAlarmModelRequest.Builder,CreateAlarmModelRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAlarmModelRequest.Builder |
alarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
|
default CreateAlarmModelRequest.Builder |
alarmCapabilities(Consumer<AlarmCapabilities.Builder> alarmCapabilities)
Contains the configuration information of alarm state changes.
|
CreateAlarmModelRequest.Builder |
alarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
|
default CreateAlarmModelRequest.Builder |
alarmEventActions(Consumer<AlarmEventActions.Builder> alarmEventActions)
Contains information about one or more alarm actions.
|
CreateAlarmModelRequest.Builder |
alarmModelDescription(String alarmModelDescription)
A description that tells you what the alarm model detects.
|
CreateAlarmModelRequest.Builder |
alarmModelName(String alarmModelName)
A unique name that helps you identify the alarm model.
|
CreateAlarmModelRequest.Builder |
alarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
|
default CreateAlarmModelRequest.Builder |
alarmNotification(Consumer<AlarmNotification.Builder> alarmNotification)
Contains information about one or more notification actions.
|
CreateAlarmModelRequest.Builder |
alarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
|
default CreateAlarmModelRequest.Builder |
alarmRule(Consumer<AlarmRule.Builder> alarmRule)
Defines when your alarm is invoked.
|
CreateAlarmModelRequest.Builder |
key(String key)
An input attribute used as a key to create an alarm.
|
CreateAlarmModelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAlarmModelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateAlarmModelRequest.Builder |
roleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
CreateAlarmModelRequest.Builder |
severity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
|
CreateAlarmModelRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that contain metadata for the alarm model.
|
CreateAlarmModelRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that contain metadata for the alarm model.
|
CreateAlarmModelRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that contain metadata for the alarm model.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAlarmModelRequest.Builder alarmModelName(String alarmModelName)
A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.
alarmModelName - A unique name that helps you identify the alarm model. You can't change this name after you create the
alarm model.CreateAlarmModelRequest.Builder alarmModelDescription(String alarmModelDescription)
A description that tells you what the alarm model detects.
alarmModelDescription - A description that tells you what the alarm model detects.CreateAlarmModelRequest.Builder roleArn(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.
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.CreateAlarmModelRequest.Builder tags(Collection<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.
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.
CreateAlarmModelRequest.Builder tags(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.
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.
CreateAlarmModelRequest.Builder tags(Consumer<Tag.Builder>... 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.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateAlarmModelRequest.Builder key(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.
key - An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated
with this key to the alarm.CreateAlarmModelRequest.Builder severity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
severity - A non-negative integer that reflects the severity level of the alarm.CreateAlarmModelRequest.Builder alarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
alarmRule - Defines when your alarm is invoked.default CreateAlarmModelRequest.Builder alarmRule(Consumer<AlarmRule.Builder> alarmRule)
Defines when your alarm is invoked.
This is a convenience that creates an instance of theAlarmRule.Builder avoiding the need to create
one manually via AlarmRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to alarmRule(AlarmRule).alarmRule - a consumer that will call methods on AlarmRule.BuilderalarmRule(AlarmRule)CreateAlarmModelRequest.Builder alarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
alarmNotification - Contains information about one or more notification actions.default CreateAlarmModelRequest.Builder alarmNotification(Consumer<AlarmNotification.Builder> alarmNotification)
Contains information about one or more notification actions.
This is a convenience that creates an instance of theAlarmNotification.Builder avoiding the need to
create one manually via AlarmNotification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to alarmNotification(AlarmNotification).alarmNotification - a consumer that will call methods on AlarmNotification.BuilderalarmNotification(AlarmNotification)CreateAlarmModelRequest.Builder alarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
alarmEventActions - Contains information about one or more alarm actions.default CreateAlarmModelRequest.Builder alarmEventActions(Consumer<AlarmEventActions.Builder> alarmEventActions)
Contains information about one or more alarm actions.
This is a convenience that creates an instance of theAlarmEventActions.Builder avoiding the need to
create one manually via AlarmEventActions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to alarmEventActions(AlarmEventActions).alarmEventActions - a consumer that will call methods on AlarmEventActions.BuilderalarmEventActions(AlarmEventActions)CreateAlarmModelRequest.Builder alarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
alarmCapabilities - Contains the configuration information of alarm state changes.default CreateAlarmModelRequest.Builder alarmCapabilities(Consumer<AlarmCapabilities.Builder> alarmCapabilities)
Contains the configuration information of alarm state changes.
This is a convenience that creates an instance of theAlarmCapabilities.Builder avoiding the need to
create one manually via AlarmCapabilities.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to alarmCapabilities(AlarmCapabilities).alarmCapabilities - a consumer that will call methods on AlarmCapabilities.BuilderalarmCapabilities(AlarmCapabilities)CreateAlarmModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAlarmModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.