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 Details

    • alarmArn

      Alarm.Builder alarmArn(String 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

      Alarm.Builder source(String 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.