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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggingConfiguration.BuilderlogDestinationConfigs(Collection<LogDestinationConfig> logDestinationConfigs)Defines the logging destinations for the logs for a firewall.LoggingConfiguration.BuilderlogDestinationConfigs(Consumer<LogDestinationConfig.Builder>... logDestinationConfigs)Defines the logging destinations for the logs for a firewall.LoggingConfiguration.BuilderlogDestinationConfigs(LogDestinationConfig... logDestinationConfigs)Defines the logging destinations for the logs for a firewall.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
LoggingConfiguration.Builder logDestinationConfigs(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
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 to#logDestinationConfigs(List.) - 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:
#logDestinationConfigs(java.util.Collection)
-
-