Interface LogTargetConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogTargetConfiguration.Builder,LogTargetConfiguration>,SdkBuilder<LogTargetConfiguration.Builder,LogTargetConfiguration>,SdkPojo
- Enclosing class:
- LogTargetConfiguration
public static interface LogTargetConfiguration.Builder extends SdkPojo, CopyableBuilder<LogTargetConfiguration.Builder,LogTargetConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LogTargetConfiguration.BuilderlogLevel(String logLevel)The logging level.LogTargetConfiguration.BuilderlogLevel(LogLevel logLevel)The logging level.default LogTargetConfiguration.BuilderlogTarget(Consumer<LogTarget.Builder> logTarget)A log targetLogTargetConfiguration.BuilderlogTarget(LogTarget logTarget)A log target-
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
-
logTarget
LogTargetConfiguration.Builder logTarget(LogTarget logTarget)
A log target
- Parameters:
logTarget- A log target- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTarget
default LogTargetConfiguration.Builder logTarget(Consumer<LogTarget.Builder> logTarget)
A log target
This is a convenience method that creates an instance of theLogTarget.Builderavoiding the need to create one manually viaLogTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologTarget(LogTarget).- Parameters:
logTarget- a consumer that will call methods onLogTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logTarget(LogTarget)
-
logLevel
LogTargetConfiguration.Builder logLevel(String logLevel)
The logging level.
-
logLevel
LogTargetConfiguration.Builder logLevel(LogLevel logLevel)
The logging level.
-
-