Interface Alarm.Builder

    • Method Detail

      • 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.