Class LogConfig.Builder
java.lang.Object
software.amazon.awscdk.services.events.LogConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogConfig>
- Enclosing interface:
LogConfig
@Stability(Stable)
public static final class LogConfig.Builder
extends Object
implements software.amazon.jsii.Builder<LogConfig>
A builder for
LogConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.includeDetail
(IncludeDetail includeDetail) Sets the value ofLogConfig.getIncludeDetail()
Sets the value ofLogConfig.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includeDetail
Sets the value ofLogConfig.getIncludeDetail()
- Parameters:
includeDetail
- Whether EventBridge include detailed event information in the records it generates.- Returns:
this
-
level
Sets the value ofLogConfig.getLevel()
- Parameters:
level
- Logging level.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LogConfig>
- Returns:
- a new instance of
LogConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-