Class AlarmIdentifier

java.lang.Object
com.amazonaws.services.route53.model.AlarmIdentifier
All Implemented Interfaces:
Serializable, Cloneable

public class AlarmIdentifier extends Object implements Serializable, Cloneable

A complex type that contains information to uniquely identify the CloudWatch alarm that you're associating with a Route 53 health check.

See Also:
  • Constructor Details

    • AlarmIdentifier

      public AlarmIdentifier()
  • Method Details

    • setRegion

      public void setRegion(String region)

      The CloudWatchRegion that the CloudWatch alarm was created in.

      Parameters:
      region - The CloudWatchRegion that the CloudWatch alarm was created in.
      See Also:
    • getRegion

      public String getRegion()

      The CloudWatchRegion that the CloudWatch alarm was created in.

      Returns:
      The CloudWatchRegion that the CloudWatch alarm was created in.
      See Also:
    • withRegion

      public AlarmIdentifier withRegion(String region)

      The CloudWatchRegion that the CloudWatch alarm was created in.

      Parameters:
      region - The CloudWatchRegion that the CloudWatch alarm was created in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setRegion

      public void setRegion(CloudWatchRegion region)

      The CloudWatchRegion that the CloudWatch alarm was created in.

      Parameters:
      region - The CloudWatchRegion that the CloudWatch alarm was created in.
      See Also:
    • withRegion

      public AlarmIdentifier withRegion(CloudWatchRegion region)

      The CloudWatchRegion that the CloudWatch alarm was created in.

      Parameters:
      region - The CloudWatchRegion that the CloudWatch alarm was created in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setName

      public void setName(String name)

      The name of the CloudWatch alarm.

      Parameters:
      name - The name of the CloudWatch alarm.
    • getName

      public String getName()

      The name of the CloudWatch alarm.

      Returns:
      The name of the CloudWatch alarm.
    • withName

      public AlarmIdentifier withName(String name)

      The name of the CloudWatch alarm.

      Parameters:
      name - The name of the CloudWatch alarm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AlarmIdentifier clone()
      Overrides:
      clone in class Object