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
Modifier and TypeMethodDescriptionThe logging level.The logging level.default LogTargetConfiguration.Builder
logTarget
(Consumer<LogTarget.Builder> logTarget) A log targetA log targetMethods 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 Details
-
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
A log target
This is a convenience method that creates an instance of theLogTarget.Builder
avoiding the need to create one manually viaLogTarget.builder()
.When the
Consumer
completes,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:
-
logLevel
The logging level.
- Parameters:
logLevel
- The logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logLevel
The logging level.
- Parameters:
logLevel
- The logging level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-