Interface CreateMonitorResponse.Builder

    • Method Detail

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

        CreateMonitorResponse.Builder tags​(Map<String,​String> 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.