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.Builderaction(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.BuilderalertFilters(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsRequest.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
-
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.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAlertFilters.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-