Class CfnEventSourceMapping.LoggingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.LoggingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.LoggingConfigProperty>
- Enclosing interface:
CfnEventSourceMapping.LoggingConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.LoggingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.LoggingConfigProperty>
A builder for
CfnEventSourceMapping.LoggingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.systemLogLevel(String systemLogLevel) Sets the value ofCfnEventSourceMapping.LoggingConfigProperty.getSystemLogLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
systemLogLevel
@Stability(Stable) public CfnEventSourceMapping.LoggingConfigProperty.Builder systemLogLevel(String systemLogLevel) Sets the value ofCfnEventSourceMapping.LoggingConfigProperty.getSystemLogLevel()- Parameters:
systemLogLevel- Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, whereDEBUGis the highest level andWARNis the lowest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.LoggingConfigProperty>- Returns:
- a new instance of
CfnEventSourceMapping.LoggingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-