Interface UpdateAlertRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAlertRequest.Builder,
,UpdateAlertRequest> LookoutMetricsRequest.Builder
,SdkBuilder<UpdateAlertRequest.Builder,
,UpdateAlertRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAlertRequest
public static interface UpdateAlertRequest.Builder
extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<UpdateAlertRequest.Builder,UpdateAlertRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAlertRequest.Builder
action
(Consumer<Action.Builder> action) Action that will be triggered when there is an alert.Action that will be triggered when there is an alert.The ARN of the alert to update.alertDescription
(String alertDescription) A description of the alert.default UpdateAlertRequest.Builder
alertFilters
(Consumer<AlertFilters.Builder> alertFilters) The configuration of the alert filters, containing MetricList and DimensionFilterList.alertFilters
(AlertFilters alertFilters) The configuration of the alert filters, containing MetricList and DimensionFilterList.alertSensitivityThreshold
(Integer alertSensitivityThreshold) An integer from 0 to 100 specifying the alert sensitivity threshold.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
alertArn
The ARN of the alert to update.
- Parameters:
alertArn
- The ARN of the alert to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertDescription
A description of the alert.
- Parameters:
alertDescription
- A description of the alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertSensitivityThreshold
An integer from 0 to 100 specifying the alert sensitivity threshold.
- Parameters:
alertSensitivityThreshold
- An integer from 0 to 100 specifying the alert sensitivity threshold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Action that will be triggered when there is an alert.
- Parameters:
action
- Action that will be triggered when there is an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(Action)
.- Parameters:
action
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alertFilters
The configuration of the alert filters, containing MetricList and DimensionFilterList.
- Parameters:
alertFilters
- The configuration of the alert filters, containing MetricList and DimensionFilterList.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAlertFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalertFilters(AlertFilters)
.- Parameters:
alertFilters
- a consumer that will call methods onAlertFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAlertRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAlertRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-