Interface LoggingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoggingConfiguration.Builder,
,LoggingConfiguration> SdkBuilder<LoggingConfiguration.Builder,
,LoggingConfiguration> SdkPojo
- Enclosing class:
LoggingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondestinations
(Collection<LogDestination> destinations) An array of objects that describes where your execution history events will be logged.destinations
(Consumer<LogDestination.Builder>... destinations) An array of objects that describes where your execution history events will be logged.destinations
(LogDestination... destinations) An array of objects that describes where your execution history events will be logged.includeExecutionData
(Boolean includeExecutionData) Determines whether execution data is included in your log.Defines which category of execution history events are logged.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, sdkFields
-
Method Details
-
level
Defines which category of execution history events are logged.
- Parameters:
level
- Defines which category of execution history events are logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level
Defines which category of execution history events are logged.
- Parameters:
level
- Defines which category of execution history events are logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.Builder
avoiding the need to create one manually viaLogDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<LogDestination>)
.- 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:
-