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.Builderdestinations(Collection<LogDestination> destinations)An array of objects that describes where your execution history events will be logged.LoggingConfiguration.Builderdestinations(Consumer<LogDestination.Builder>... destinations)An array of objects that describes where your execution history events will be logged.LoggingConfiguration.Builderdestinations(LogDestination... destinations)An array of objects that describes where your execution history events will be logged.LoggingConfiguration.BuilderincludeExecutionData(Boolean includeExecutionData)Determines whether execution data is included in your log.LoggingConfiguration.Builderlevel(String level)Defines which category of execution history events are logged.LoggingConfiguration.Builderlevel(LogLevel level)Defines which category of execution history events are logged.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
level
LoggingConfiguration.Builder level(String level)
Defines which category of execution history events are logged.
-
level
LoggingConfiguration.Builder level(LogLevel level)
Defines which category of execution history events are logged.
-
includeExecutionData
LoggingConfiguration.Builder includeExecutionData(Boolean includeExecutionData)
Determines whether execution data is included in your log. When set to
false, data is excluded.- Parameters:
includeExecutionData- Determines whether execution data is included in your log. When set tofalse, data is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
LoggingConfiguration.Builder destinations(Collection<LogDestination> destinations)
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to
OFF.- Parameters:
destinations- An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set toOFF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
LoggingConfiguration.Builder destinations(LogDestination... destinations)
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to
OFF.- Parameters:
destinations- An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set toOFF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
LoggingConfiguration.Builder destinations(Consumer<LogDestination.Builder>... destinations)
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to
This is a convenience method that creates an instance of theOFF.LogDestination.Builderavoiding the need to create one manually viaLogDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#destinations(List.) - Parameters:
destinations- a consumer that will call methods onLogDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#destinations(java.util.Collection)
-
-