Interface Alarm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Alarm.Builder,
,Alarm> SdkBuilder<Alarm.Builder,
,Alarm> SdkPojo
- Enclosing class:
Alarm
@Mutable
@NotThreadSafe
public static interface Alarm.Builder
extends SdkPojo, CopyableBuilder<Alarm.Builder,Alarm>
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Amazon CloudWatch alarm.Indicates the source of the Amazon CloudWatch alarm.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
alarmArn
Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
- Parameters:
alarmArn
- Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Indicates the source of the Amazon CloudWatch alarm. That is, it indicates if the alarm was created using Resilience Hub recommendation (
AwsResilienceHub
), or if you had created the alarm in Amazon CloudWatch (Customer
).- Parameters:
source
- Indicates the source of the Amazon CloudWatch alarm. That is, it indicates if the alarm was created using Resilience Hub recommendation (AwsResilienceHub
), or if you had created the alarm in Amazon CloudWatch (Customer
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-