Interface UpdateMonitorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMonitorRequest.Builder,,UpdateMonitorRequest> NetworkFlowMonitorRequest.Builder,SdkBuilder<UpdateMonitorRequest.Builder,,UpdateMonitorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMonitorRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.localResourcesToAdd(Collection<MonitorLocalResource> localResourcesToAdd) Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types.localResourcesToAdd(Consumer<MonitorLocalResource.Builder>... localResourcesToAdd) Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types.localResourcesToAdd(MonitorLocalResource... localResourcesToAdd) Additional local resources to specify network flows for a monitor, as an array of resources with identifiers and types.localResourcesToRemove(Collection<MonitorLocalResource> localResourcesToRemove) The local resources to remove, as an array of resources with identifiers and types.localResourcesToRemove(Consumer<MonitorLocalResource.Builder>... localResourcesToRemove) The local resources to remove, as an array of resources with identifiers and types.localResourcesToRemove(MonitorLocalResource... localResourcesToRemove) The local resources to remove, as an array of resources with identifiers and types.monitorName(String monitorName) The name of the monitor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.remoteResourcesToAdd(Collection<MonitorRemoteResource> remoteResourcesToAdd) The remote resources to add, as an array of resources with identifiers and types.remoteResourcesToAdd(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToAdd) The remote resources to add, as an array of resources with identifiers and types.remoteResourcesToAdd(MonitorRemoteResource... remoteResourcesToAdd) The remote resources to add, as an array of resources with identifiers and types.remoteResourcesToRemove(Collection<MonitorRemoteResource> remoteResourcesToRemove) The remote resources to remove, as an array of resources with identifiers and types.remoteResourcesToRemove(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToRemove) The remote resources to remove, as an array of resources with identifiers and types.remoteResourcesToRemove(MonitorRemoteResource... remoteResourcesToRemove) The remote resources to remove, as an array of resources with identifiers and types.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 theMonitorLocalResource.Builderavoiding the need to create one manually viaMonitorLocalResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalResourcesToAdd(List<MonitorLocalResource>).- Parameters:
localResourcesToAdd- a consumer that will call methods onMonitorLocalResource.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
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 theMonitorLocalResource.Builderavoiding the need to create one manually viaMonitorLocalResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalResourcesToRemove(List<MonitorLocalResource>).- Parameters:
localResourcesToRemove- a consumer that will call methods onMonitorLocalResource.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
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 theMonitorRemoteResource.Builderavoiding the need to create one manually viaMonitorRemoteResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteResourcesToAdd(List<MonitorRemoteResource>).- Parameters:
remoteResourcesToAdd- a consumer that will call methods onMonitorRemoteResource.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 theMonitorRemoteResource.Builderavoiding the need to create one manually viaMonitorRemoteResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteResourcesToRemove(List<MonitorRemoteResource>).- Parameters:
remoteResourcesToRemove- a consumer that will call methods onMonitorRemoteResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMonitorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-