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) The local resources to add, as an array of resources with identifiers and types.localResourcesToAdd
(Consumer<MonitorLocalResource.Builder>... localResourcesToAdd) The local resources to add, as an array of resources with identifiers and types.localResourcesToAdd
(MonitorLocalResource... localResourcesToAdd) The local resources to add, 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 remove resources to add, as an array of resources with identifiers and types.remoteResourcesToAdd
(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToAdd) The remove resources to add, as an array of resources with identifiers and types.remoteResourcesToAdd
(MonitorRemoteResource... remoteResourcesToAdd) The remove resources to add, as an array of resources with identifiers and types.remoteResourcesToRemove
(Collection<MonitorRemoteResource> remoteResourcesToRemove) The remove resources to remove, as an array of resources with identifiers and types.remoteResourcesToRemove
(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToRemove) The remove resources to remove, as an array of resources with identifiers and types.remoteResourcesToRemove
(MonitorRemoteResource... remoteResourcesToRemove) The remove resources to remove, as an array of resources with identifiers and types.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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) The local resources to add, as an array of resources with identifiers and types.
- Parameters:
localResourcesToAdd
- The local resources to add, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localResourcesToAdd
The local resources to add, as an array of resources with identifiers and types.
- Parameters:
localResourcesToAdd
- The local resources to add, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localResourcesToAdd
UpdateMonitorRequest.Builder localResourcesToAdd(Consumer<MonitorLocalResource.Builder>... localResourcesToAdd) The local resources to add, as an array of resources with identifiers and types.
This is a convenience method that creates an instance of theMonitorLocalResource.Builder
avoiding the need to create one manually viaMonitorLocalResource.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaMonitorLocalResource.builder()
.When the
Consumer
completes,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 remove resources to add, as an array of resources with identifiers and types.
- Parameters:
remoteResourcesToAdd
- The remove resources to add, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteResourcesToAdd
The remove resources to add, as an array of resources with identifiers and types.
- Parameters:
remoteResourcesToAdd
- The remove resources to add, as an array of resources with identifiers and types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteResourcesToAdd
UpdateMonitorRequest.Builder remoteResourcesToAdd(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToAdd) The remove resources to add, as an array of resources with identifiers and types.
This is a convenience method that creates an instance of theMonitorRemoteResource.Builder
avoiding the need to create one manually viaMonitorRemoteResource.builder()
.When the
Consumer
completes,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 remove resources to remove, as an array of resources with identifiers and types.
- Parameters:
remoteResourcesToRemove
- The remove 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.
-
remoteResourcesToRemove
UpdateMonitorRequest.Builder remoteResourcesToRemove(MonitorRemoteResource... remoteResourcesToRemove) The remove resources to remove, as an array of resources with identifiers and types.
- Parameters:
remoteResourcesToRemove
- The remove 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.
-
remoteResourcesToRemove
UpdateMonitorRequest.Builder remoteResourcesToRemove(Consumer<MonitorRemoteResource.Builder>... remoteResourcesToRemove) The remove resources to remove, as an array of resources with identifiers and types.
This is a convenience method that creates an instance of theMonitorRemoteResource.Builder
avoiding the need to create one manually viaMonitorRemoteResource.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-