Interface GetMonitorResponse.Builder

  • Method Details

    • monitorArn

      GetMonitorResponse.Builder monitorArn(String monitorArn)

      The ARN of the selected monitor.

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

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

      Lists the status of the state of each monitor.

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

      Lists the status of the state of each monitor.

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

      GetMonitorResponse.Builder aggregationPeriod(Long aggregationPeriod)

      The aggregation period for the specified monitor.

      Parameters:
      aggregationPeriod - The aggregation period for the specified monitor.
      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.
    • probes

      The details about each probe associated with that monitor.

      Parameters:
      probes - The details about each probe associated with that monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • probes

      GetMonitorResponse.Builder probes(Probe... probes)

      The details about each probe associated with that monitor.

      Parameters:
      probes - The details about each probe associated with that monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • probes

      The details about each probe associated with that monitor.

      This is a convenience method that creates an instance of the Probe.Builder avoiding the need to create one manually via Probe.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to probes(List<Probe>).

      Parameters:
      probes - a consumer that will call methods on Probe.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      GetMonitorResponse.Builder createdAt(Instant createdAt)

      The time and date when the monitor was created.

      Parameters:
      createdAt - The time and date when the monitor was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      GetMonitorResponse.Builder modifiedAt(Instant modifiedAt)

      The time and date when the monitor was last modified.

      Parameters:
      modifiedAt - The time and date when the monitor was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.