Class CfnEventBus.LogConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnEventBus.LogConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBus.LogConfigProperty>
- Enclosing interface:
CfnEventBus.LogConfigProperty
@Stability(Stable)
public static final class CfnEventBus.LogConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBus.LogConfigProperty>
A builder for
CfnEventBus.LogConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.includeDetail
(String includeDetail) Sets the value ofCfnEventBus.LogConfigProperty.getIncludeDetail()
Sets the value ofCfnEventBus.LogConfigProperty.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
includeDetail
Sets the value ofCfnEventBus.LogConfigProperty.getIncludeDetail()
- Parameters:
includeDetail
- Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.For more information, see Including detail data in event bus logs in the EventBridge User Guide .
- Returns:
this
-
level
Sets the value ofCfnEventBus.LogConfigProperty.getLevel()
- Parameters:
level
- The level of logging detail to include. This applies to all log destinations for the event bus. For more information, see Specifying event bus log level in the EventBridge User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventBus.LogConfigProperty>
- Returns:
- a new instance of
CfnEventBus.LogConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-