Class AlarmIdentifier

    • Constructor Detail

      • AlarmIdentifier

        public AlarmIdentifier()
    • Method Detail

      • 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:
        CloudWatchRegion
      • 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:
        CloudWatchRegion
      • 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:
        CloudWatchRegion
      • 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:
        CloudWatchRegion
      • 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:
        CloudWatchRegion
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object