Interface CreateMonitorRequest.Builder

    • Method Detail

      • monitorName

        CreateMonitorRequest.Builder monitorName​(String monitorName)

        The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.

        Parameters:
        monitorName - The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • probes

        CreateMonitorRequest.Builder probes​(Collection<CreateMonitorProbeInput> probes)

        Displays a list of all of the probes created for a monitor.

        Parameters:
        probes - Displays a list of all of the probes created for a monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • probes

        CreateMonitorRequest.Builder probes​(CreateMonitorProbeInput... probes)

        Displays a list of all of the probes created for a monitor.

        Parameters:
        probes - Displays a list of all of the probes created for a monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregationPeriod

        CreateMonitorRequest.Builder aggregationPeriod​(Long aggregationPeriod)

        The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60. 60 is the default if no period is chosen.

        Parameters:
        aggregationPeriod - The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60. 60 is the default if no period is chosen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateMonitorRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.

        Parameters:
        clientToken - Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateMonitorRequest.Builder tags​(Map<String,​String> tags)

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

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