Class UpdateAlertRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsRequest
-
- software.amazon.awssdk.services.lookoutmetrics.model.UpdateAlertRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAlertRequest.Builder,UpdateAlertRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAlertRequest extends LookoutMetricsRequest implements ToCopyableBuilder<UpdateAlertRequest.Builder,UpdateAlertRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAlertRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Actionaction()Action that will be triggered when there is an alert.StringalertArn()The ARN of the alert to update.StringalertDescription()A description of the alert.AlertFiltersalertFilters()The configuration of the alert filters, containing MetricList and DimensionFilterList.IntegeralertSensitivityThreshold()An integer from 0 to 100 specifying the alert sensitivity threshold.static UpdateAlertRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateAlertRequest.Builder>serializableBuilderClass()UpdateAlertRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
alertArn
public final String alertArn()
The ARN of the alert to update.
- Returns:
- The ARN of the alert to update.
-
alertDescription
public final String alertDescription()
A description of the alert.
- Returns:
- A description of the alert.
-
alertSensitivityThreshold
public final Integer alertSensitivityThreshold()
An integer from 0 to 100 specifying the alert sensitivity threshold.
- Returns:
- An integer from 0 to 100 specifying the alert sensitivity threshold.
-
action
public final Action action()
Action that will be triggered when there is an alert.
- Returns:
- Action that will be triggered when there is an alert.
-
alertFilters
public final AlertFilters alertFilters()
The configuration of the alert filters, containing MetricList and DimensionFilterList.
- Returns:
- The configuration of the alert filters, containing MetricList and DimensionFilterList.
-
toBuilder
public UpdateAlertRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAlertRequest.Builder,UpdateAlertRequest>- Specified by:
toBuilderin classLookoutMetricsRequest
-
builder
public static UpdateAlertRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAlertRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-