public static interface UpdateAlertRequest.Builder extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<UpdateAlertRequest.Builder,UpdateAlertRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateAlertRequest.Builder |
action(Action action)
Action that will be triggered when there is an alert.
|
default UpdateAlertRequest.Builder |
action(Consumer<Action.Builder> action)
Action that will be triggered when there is an alert.
|
UpdateAlertRequest.Builder |
alertArn(String alertArn)
The ARN of the alert to update.
|
UpdateAlertRequest.Builder |
alertDescription(String alertDescription)
A description of the alert.
|
UpdateAlertRequest.Builder |
alertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
default UpdateAlertRequest.Builder |
alertFilters(Consumer<AlertFilters.Builder> alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
UpdateAlertRequest.Builder |
alertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
|
UpdateAlertRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateAlertRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateAlertRequest.Builder alertArn(String alertArn)
The ARN of the alert to update.
alertArn - The ARN of the alert to update.UpdateAlertRequest.Builder alertDescription(String alertDescription)
A description of the alert.
alertDescription - A description of the alert.UpdateAlertRequest.Builder alertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
alertSensitivityThreshold - An integer from 0 to 100 specifying the alert sensitivity threshold.UpdateAlertRequest.Builder action(Action action)
Action that will be triggered when there is an alert.
action - Action that will be triggered when there is an alert.default UpdateAlertRequest.Builder action(Consumer<Action.Builder> action)
Action that will be triggered when there is an alert.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to
create one manually via Action.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to action(Action).
action - a consumer that will call methods on Action.Builderaction(Action)UpdateAlertRequest.Builder alertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
alertFilters - The configuration of the alert filters, containing MetricList and DimensionFilterList.default UpdateAlertRequest.Builder alertFilters(Consumer<AlertFilters.Builder> alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
This is a convenience method that creates an instance of theAlertFilters.Builder avoiding the need
to create one manually via AlertFilters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to alertFilters(AlertFilters).
alertFilters - a consumer that will call methods on AlertFilters.BuilderalertFilters(AlertFilters)UpdateAlertRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateAlertRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.