Interface UpdateAlarmModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAlarmModelRequest.Builder,,UpdateAlarmModelRequest> IotEventsRequest.Builder,SdkBuilder<UpdateAlarmModelRequest.Builder,,UpdateAlarmModelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAlarmModelRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAlarmModelRequest.BuilderalarmCapabilities(Consumer<AlarmCapabilities.Builder> alarmCapabilities) Contains the configuration information of alarm state changes.alarmCapabilities(AlarmCapabilities alarmCapabilities) Contains the configuration information of alarm state changes.default UpdateAlarmModelRequest.BuilderalarmEventActions(Consumer<AlarmEventActions.Builder> alarmEventActions) Contains information about one or more alarm actions.alarmEventActions(AlarmEventActions alarmEventActions) Contains information about one or more alarm actions.alarmModelDescription(String alarmModelDescription) The description of the alarm model.alarmModelName(String alarmModelName) The name of the alarm model.default UpdateAlarmModelRequest.BuilderalarmNotification(Consumer<AlarmNotification.Builder> alarmNotification) Contains information about one or more notification actions.alarmNotification(AlarmNotification alarmNotification) Contains information about one or more notification actions.default UpdateAlarmModelRequest.BuilderalarmRule(Consumer<AlarmRule.Builder> alarmRule) Defines when your alarm is invoked.Defines when your alarm is invoked.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.A non-negative integer that reflects the severity level of the alarm.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotevents.model.IotEventsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
alarmModelName
The name of the alarm model.
- Parameters:
alarmModelName- The name of the alarm model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmModelDescription
The description of the alarm model.
- Parameters:
alarmModelDescription- The description of the alarm model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
A non-negative integer that reflects the severity level of the alarm.
- Parameters:
severity- A non-negative integer that reflects the severity level of the alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmRule
Defines when your alarm is invoked.
- Parameters:
alarmRule- Defines when your alarm is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmRule
Defines when your alarm is invoked.
This is a convenience method that creates an instance of theAlarmRule.Builderavoiding the need to create one manually viaAlarmRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarmRule(AlarmRule).- Parameters:
alarmRule- a consumer that will call methods onAlarmRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alarmNotification
Contains information about one or more notification actions.
- Parameters:
alarmNotification- Contains information about one or more notification actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmNotification
default UpdateAlarmModelRequest.Builder alarmNotification(Consumer<AlarmNotification.Builder> alarmNotification) Contains information about one or more notification actions.
This is a convenience method that creates an instance of theAlarmNotification.Builderavoiding the need to create one manually viaAlarmNotification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarmNotification(AlarmNotification).- Parameters:
alarmNotification- a consumer that will call methods onAlarmNotification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alarmEventActions
Contains information about one or more alarm actions.
- Parameters:
alarmEventActions- Contains information about one or more alarm actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmEventActions
default UpdateAlarmModelRequest.Builder alarmEventActions(Consumer<AlarmEventActions.Builder> alarmEventActions) Contains information about one or more alarm actions.
This is a convenience method that creates an instance of theAlarmEventActions.Builderavoiding the need to create one manually viaAlarmEventActions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarmEventActions(AlarmEventActions).- Parameters:
alarmEventActions- a consumer that will call methods onAlarmEventActions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alarmCapabilities
Contains the configuration information of alarm state changes.
- Parameters:
alarmCapabilities- Contains the configuration information of alarm state changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmCapabilities
default UpdateAlarmModelRequest.Builder alarmCapabilities(Consumer<AlarmCapabilities.Builder> alarmCapabilities) Contains the configuration information of alarm state changes.
This is a convenience method that creates an instance of theAlarmCapabilities.Builderavoiding the need to create one manually viaAlarmCapabilities.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarmCapabilities(AlarmCapabilities).- Parameters:
alarmCapabilities- a consumer that will call methods onAlarmCapabilities.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAlarmModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAlarmModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-