public static interface CreateAlertRequest.Builder extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<CreateAlertRequest.Builder,CreateAlertRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAlertRequest.Builder |
action(Action action)
Action that will be triggered when there is an alert.
|
default CreateAlertRequest.Builder |
action(Consumer<Action.Builder> action)
Action that will be triggered when there is an alert.
|
CreateAlertRequest.Builder |
alertDescription(String alertDescription)
A description of the alert.
|
CreateAlertRequest.Builder |
alertFilters(AlertFilters alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
default CreateAlertRequest.Builder |
alertFilters(Consumer<AlertFilters.Builder> alertFilters)
The configuration of the alert filters, containing MetricList and DimensionFilterList.
|
CreateAlertRequest.Builder |
alertName(String alertName)
The name of the alert.
|
CreateAlertRequest.Builder |
alertSensitivityThreshold(Integer alertSensitivityThreshold)
An integer from 0 to 100 specifying the alert sensitivity threshold.
|
CreateAlertRequest.Builder |
anomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector to which the alert is attached.
|
CreateAlertRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAlertRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateAlertRequest.Builder |
tags(Map<String,String> tags)
A list of tags to
apply to the alert.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAlertRequest.Builder alertName(String alertName)
The name of the alert.
alertName - The name of the alert.CreateAlertRequest.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.CreateAlertRequest.Builder alertDescription(String alertDescription)
A description of the alert.
alertDescription - A description of the alert.CreateAlertRequest.Builder anomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector to which the alert is attached.
anomalyDetectorArn - The ARN of the detector to which the alert is attached.CreateAlertRequest.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 CreateAlertRequest.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)CreateAlertRequest.Builder tags(Map<String,String> tags)
A list of tags to apply to the alert.
tags - A list of tags
to apply to the alert.CreateAlertRequest.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 CreateAlertRequest.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)CreateAlertRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAlertRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.