Class CloudwatchMetricAction

    • Constructor Detail

      • CloudwatchMetricAction

        public CloudwatchMetricAction()
    • Method Detail

      • setRoleArn

        public void setRoleArn​(String roleArn)

        The IAM role that allows access to the CloudWatch metric.

        Parameters:
        roleArn - The IAM role that allows access to the CloudWatch metric.
      • getRoleArn

        public String getRoleArn()

        The IAM role that allows access to the CloudWatch metric.

        Returns:
        The IAM role that allows access to the CloudWatch metric.
      • withRoleArn

        public CloudwatchMetricAction withRoleArn​(String roleArn)

        The IAM role that allows access to the CloudWatch metric.

        Parameters:
        roleArn - The IAM role that allows access to the CloudWatch metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricNamespace

        public void setMetricNamespace​(String metricNamespace)

        The CloudWatch metric namespace name.

        Parameters:
        metricNamespace - The CloudWatch metric namespace name.
      • getMetricNamespace

        public String getMetricNamespace()

        The CloudWatch metric namespace name.

        Returns:
        The CloudWatch metric namespace name.
      • withMetricNamespace

        public CloudwatchMetricAction withMetricNamespace​(String metricNamespace)

        The CloudWatch metric namespace name.

        Parameters:
        metricNamespace - The CloudWatch metric namespace name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricName

        public void setMetricName​(String metricName)

        The CloudWatch metric name.

        Parameters:
        metricName - The CloudWatch metric name.
      • getMetricName

        public String getMetricName()

        The CloudWatch metric name.

        Returns:
        The CloudWatch metric name.
      • withMetricName

        public CloudwatchMetricAction withMetricName​(String metricName)

        The CloudWatch metric name.

        Parameters:
        metricName - The CloudWatch metric name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricValue

        public void setMetricValue​(String metricValue)

        The CloudWatch metric value.

        Parameters:
        metricValue - The CloudWatch metric value.
      • getMetricValue

        public String getMetricValue()

        The CloudWatch metric value.

        Returns:
        The CloudWatch metric value.
      • withMetricValue

        public CloudwatchMetricAction withMetricValue​(String metricValue)

        The CloudWatch metric value.

        Parameters:
        metricValue - The CloudWatch metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMetricUnit

        public void setMetricUnit​(String metricUnit)

        The metric unit supported by CloudWatch.

        Parameters:
        metricUnit - The metric unit supported by CloudWatch.
      • withMetricUnit

        public CloudwatchMetricAction withMetricUnit​(String metricUnit)

        The metric unit supported by CloudWatch.

        Parameters:
        metricUnit - The metric unit supported by CloudWatch.
        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