Interface CreateMonitorResponse.Builder

  • Method Details

    • monitorArn

      CreateMonitorResponse.Builder monitorArn(String monitorArn)

      The ARN of the monitor.

      Parameters:
      monitorArn - The ARN of the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monitorName

      CreateMonitorResponse.Builder monitorName(String monitorName)

      The name of the monitor.

      Parameters:
      monitorName - The name of the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the monitor.

      Parameters:
      state - The state of the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the monitor.

      Parameters:
      state - The state of the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregationPeriod

      CreateMonitorResponse.Builder aggregationPeriod(Long aggregationPeriod)

      The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either 30 or 60.

      Parameters:
      aggregationPeriod - The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either 30 or 60.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The list of key-value pairs assigned to the monitor.

      Parameters:
      tags - The list of key-value pairs assigned to the monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.