Interface LoggingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LoggingConfiguration.Builder,,LoggingConfiguration> SdkBuilder<LoggingConfiguration.Builder,,LoggingConfiguration> SdkPojo
- Enclosing class:
LoggingConfiguration
public static interface LoggingConfiguration.Builder
extends SdkPojo, CopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionlogDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs) Defines the logging destinations for the logs for a firewall.logDestinationConfigs(Consumer<LogDestinationConfig.Builder>... logDestinationConfigs) Defines the logging destinations for the logs for a firewall.logDestinationConfigs(LogDestinationConfig... logDestinationConfigs) Defines the logging destinations for the logs for a firewall.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
logDestinationConfigs
LoggingConfiguration.Builder logDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs) Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- Parameters:
logDestinationConfigs- Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDestinationConfigs
Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
- Parameters:
logDestinationConfigs- Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDestinationConfigs
LoggingConfiguration.Builder logDestinationConfigs(Consumer<LogDestinationConfig.Builder>... logDestinationConfigs) Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.
This is a convenience method that creates an instance of theLogDestinationConfig.Builderavoiding the need to create one manually viaLogDestinationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologDestinationConfigs(List<LogDestinationConfig>).- Parameters:
logDestinationConfigs- a consumer that will call methods onLogDestinationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-