Interface UpdateMonitorResponse.Builder

  • Method Details

    • monitorArn

      UpdateMonitorResponse.Builder monitorArn(String monitorArn)

      The Amazon Resource Name (ARN) of the monitor.

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

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

      UpdateMonitorResponse.Builder monitorStatus(String monitorStatus)

      The status of a monitor. The status can be one of the following

      • PENDING: The monitor is in the process of being created.

      • ACTIVE: The monitor is active.

      • INACTIVE: The monitor is inactive.

      • ERROR: Monitor creation failed due to an error.

      • DELETING: The monitor is in the process of being deleted.

      Parameters:
      monitorStatus - The status of a monitor. The status can be one of the following

      • PENDING: The monitor is in the process of being created.

      • ACTIVE: The monitor is active.

      • INACTIVE: The monitor is inactive.

      • ERROR: Monitor creation failed due to an error.

      • DELETING: The monitor is in the process of being deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • monitorStatus

      UpdateMonitorResponse.Builder monitorStatus(MonitorStatus monitorStatus)

      The status of a monitor. The status can be one of the following

      • PENDING: The monitor is in the process of being created.

      • ACTIVE: The monitor is active.

      • INACTIVE: The monitor is inactive.

      • ERROR: Monitor creation failed due to an error.

      • DELETING: The monitor is in the process of being deleted.

      Parameters:
      monitorStatus - The status of a monitor. The status can be one of the following

      • PENDING: The monitor is in the process of being created.

      • ACTIVE: The monitor is active.

      • INACTIVE: The monitor is inactive.

      • ERROR: Monitor creation failed due to an error.

      • DELETING: The monitor is in the process of being deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • localResources

      The local resources updated for a monitor, as an array of resources with identifiers and types.

      Parameters:
      localResources - The local resources updated for a monitor, as an array of resources with identifiers and types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localResources

      UpdateMonitorResponse.Builder localResources(MonitorLocalResource... localResources)

      The local resources updated for a monitor, as an array of resources with identifiers and types.

      Parameters:
      localResources - The local resources updated for a monitor, as an array of resources with identifiers and types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localResources

      The local resources updated for a monitor, as an array of resources with identifiers and types.

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

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

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

      The remote resources updated for a monitor, as an array of resources with identifiers and types.

      Parameters:
      remoteResources - The remote resources updated for a monitor, as an array of resources with identifiers and types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteResources

      UpdateMonitorResponse.Builder remoteResources(MonitorRemoteResource... remoteResources)

      The remote resources updated for a monitor, as an array of resources with identifiers and types.

      Parameters:
      remoteResources - The remote resources updated for a monitor, as an array of resources with identifiers and types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteResources

      The remote resources updated for a monitor, as an array of resources with identifiers and types.

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

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

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

      UpdateMonitorResponse.Builder createdAt(Instant createdAt)

      The date and time when the monitor was created.

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

      UpdateMonitorResponse.Builder modifiedAt(Instant modifiedAt)

      The last date and time that the monitor was modified.

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

      The tags for a monitor.

      Parameters:
      tags - The tags for a monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.