Interface ModifyTrafficMirrorFilterNetworkServicesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyTrafficMirrorFilterNetworkServicesRequest.Builder,
,ModifyTrafficMirrorFilterNetworkServicesRequest> Ec2Request.Builder
,SdkBuilder<ModifyTrafficMirrorFilterNetworkServicesRequest.Builder,
,ModifyTrafficMirrorFilterNetworkServicesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyTrafficMirrorFilterNetworkServicesRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddNetworkServices
(Collection<TrafficMirrorNetworkService> addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.addNetworkServices
(TrafficMirrorNetworkService... addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.addNetworkServicesWithStrings
(String... addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.addNetworkServicesWithStrings
(Collection<String> addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeNetworkServices
(Collection<TrafficMirrorNetworkService> removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.removeNetworkServices
(TrafficMirrorNetworkService... removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.removeNetworkServicesWithStrings
(String... removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.removeNetworkServicesWithStrings
(Collection<String> removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.trafficMirrorFilterId
(String trafficMirrorFilterId) The ID of the Traffic Mirror filter.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.ec2.model.Ec2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
trafficMirrorFilterId
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder trafficMirrorFilterId(String trafficMirrorFilterId) The ID of the Traffic Mirror filter.
- Parameters:
trafficMirrorFilterId
- The ID of the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addNetworkServicesWithStrings
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder addNetworkServicesWithStrings(Collection<String> addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.
- Parameters:
addNetworkServices
- The network service, for example Amazon DNS, that you want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addNetworkServicesWithStrings
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder addNetworkServicesWithStrings(String... addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.
- Parameters:
addNetworkServices
- The network service, for example Amazon DNS, that you want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addNetworkServices
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder addNetworkServices(Collection<TrafficMirrorNetworkService> addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.
- Parameters:
addNetworkServices
- The network service, for example Amazon DNS, that you want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addNetworkServices
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder addNetworkServices(TrafficMirrorNetworkService... addNetworkServices) The network service, for example Amazon DNS, that you want to mirror.
- Parameters:
addNetworkServices
- The network service, for example Amazon DNS, that you want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeNetworkServicesWithStrings
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder removeNetworkServicesWithStrings(Collection<String> removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.
- Parameters:
removeNetworkServices
- The network service, for example Amazon DNS, that you no longer want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeNetworkServicesWithStrings
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder removeNetworkServicesWithStrings(String... removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.
- Parameters:
removeNetworkServices
- The network service, for example Amazon DNS, that you no longer want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeNetworkServices
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder removeNetworkServices(Collection<TrafficMirrorNetworkService> removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.
- Parameters:
removeNetworkServices
- The network service, for example Amazon DNS, that you no longer want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeNetworkServices
ModifyTrafficMirrorFilterNetworkServicesRequest.Builder removeNetworkServices(TrafficMirrorNetworkService... removeNetworkServices) The network service, for example Amazon DNS, that you no longer want to mirror.
- Parameters:
removeNetworkServices
- The network service, for example Amazon DNS, that you no longer want to mirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyTrafficMirrorFilterNetworkServicesRequest.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
ModifyTrafficMirrorFilterNetworkServicesRequest.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.
-