Interface UpdateLoggingConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLoggingConfigurationRequest.Builder,
,UpdateLoggingConfigurationRequest> NetworkFirewallRequest.Builder
,SdkBuilder<UpdateLoggingConfigurationRequest.Builder,
,UpdateLoggingConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLoggingConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionfirewallArn
(String firewallArn) The Amazon Resource Name (ARN) of the firewall.firewallName
(String firewallName) The descriptive name of the firewall.loggingConfiguration
(Consumer<LoggingConfiguration.Builder> loggingConfiguration) Defines how Network Firewall performs logging for a firewall.loggingConfiguration
(LoggingConfiguration loggingConfiguration) Defines how Network Firewall performs logging for a firewall.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.networkfirewall.model.NetworkFirewallRequest.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
-
firewallArn
The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
- Parameters:
firewallArn
- The Amazon Resource Name (ARN) of the firewall.You must specify the ARN or the name, and you can specify both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallName
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
You must specify the ARN or the name, and you can specify both.
- Parameters:
firewallName
- The descriptive name of the firewall. You can't change the name of a firewall after you create it.You must specify the ARN or the name, and you can specify both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
UpdateLoggingConfigurationRequest.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration) Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.
- Parameters:
loggingConfiguration
- Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default UpdateLoggingConfigurationRequest.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.
This is a convenience method that creates an instance of theLoggingConfiguration.Builder
avoiding the need to create one manually viaLoggingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration)
.- Parameters:
loggingConfiguration
- a consumer that will call methods onLoggingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLoggingConfigurationRequest.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
UpdateLoggingConfigurationRequest.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.
-