Interface UpdateMonitorRequest.Builder

  • Method Details

    • monitorName

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

      UpdateMonitorRequest.Builder localResourcesToAdd(Collection<MonitorLocalResource> localResourcesToAdd)

      Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.

      Parameters:
      localResourcesToAdd - Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localResourcesToAdd

      UpdateMonitorRequest.Builder localResourcesToAdd(MonitorLocalResource... localResourcesToAdd)

      Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.

      Parameters:
      localResourcesToAdd - Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localResourcesToAdd

      UpdateMonitorRequest.Builder localResourcesToAdd(Consumer<MonitorLocalResource.Builder>... localResourcesToAdd)

      Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types. A local resource in a workload is the location of hosts where the Network Flow Monitor agent is installed.

      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 localResourcesToAdd(List<MonitorLocalResource>).

      Parameters:
      localResourcesToAdd - 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:
    • localResourcesToRemove

      UpdateMonitorRequest.Builder localResourcesToRemove(Collection<MonitorLocalResource> localResourcesToRemove)

      The local resources to remove, as an array of resources with identifiers and types.

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

      UpdateMonitorRequest.Builder localResourcesToRemove(MonitorLocalResource... localResourcesToRemove)

      The local resources to remove, as an array of resources with identifiers and types.

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

      UpdateMonitorRequest.Builder localResourcesToRemove(Consumer<MonitorLocalResource.Builder>... localResourcesToRemove)

      The local resources to remove, 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 localResourcesToRemove(List<MonitorLocalResource>).

      Parameters:
      localResourcesToRemove - 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:
    • remoteResourcesToAdd

      UpdateMonitorRequest.Builder remoteResourcesToAdd(Collection<MonitorRemoteResource> remoteResourcesToAdd)

      The remote resources to add, as an array of resources with identifiers and types.

      A remote resource is the other endpoint in the flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

      Parameters:
      remoteResourcesToAdd - The remote resources to add, as an array of resources with identifiers and types.

      A remote resource is the other endpoint in the flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

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

      UpdateMonitorRequest.Builder remoteResourcesToAdd(MonitorRemoteResource... remoteResourcesToAdd)

      The remote resources to add, as an array of resources with identifiers and types.

      A remote resource is the other endpoint in the flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

      Parameters:
      remoteResourcesToAdd - The remote resources to add, as an array of resources with identifiers and types.

      A remote resource is the other endpoint in the flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

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

      UpdateMonitorRequest.Builder remoteResourcesToAdd(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToAdd)

      The remote resources to add, as an array of resources with identifiers and types.

      A remote resource is the other endpoint in the flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

      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 remoteResourcesToAdd(List<MonitorRemoteResource>).

      Parameters:
      remoteResourcesToAdd - 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:
    • remoteResourcesToRemove

      UpdateMonitorRequest.Builder remoteResourcesToRemove(Collection<MonitorRemoteResource> remoteResourcesToRemove)

      The remote resources to remove, as an array of resources with identifiers and types.

      A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

      Parameters:
      remoteResourcesToRemove - The remote resources to remove, as an array of resources with identifiers and types.

      A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

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

      UpdateMonitorRequest.Builder remoteResourcesToRemove(MonitorRemoteResource... remoteResourcesToRemove)

      The remote resources to remove, as an array of resources with identifiers and types.

      A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

      Parameters:
      remoteResourcesToRemove - The remote resources to remove, as an array of resources with identifiers and types.

      A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

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

      UpdateMonitorRequest.Builder remoteResourcesToRemove(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToRemove)

      The remote resources to remove, as an array of resources with identifiers and types.

      A remote resource is the other endpoint specified for the network flow of a workload, with a local resource. For example, Amazon Dynamo DB can be a remote resource.

      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 remoteResourcesToRemove(List<MonitorRemoteResource>).

      Parameters:
      remoteResourcesToRemove - 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:
    • clientToken

      UpdateMonitorRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.

      Parameters:
      clientToken - A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateMonitorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.