Class CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty>
- Enclosing interface:
CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty
@Stability(Stable)
public static final class CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty>
A builder for
CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationLogLevel(String applicationLogLevel) build()Builds the configured instance.Sets the value ofCfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.getLogGroup()systemLogLevel(String systemLogLevel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationLogLevel
@Stability(Stable) public CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.Builder applicationLogLevel(String applicationLogLevel) - Parameters:
applicationLogLevel- The application log level.- Returns:
this
-
logGroup
@Stability(Stable) public CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.Builder logGroup(String logGroup) Sets the value ofCfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.getLogGroup()- Parameters:
logGroup- The CloudWatch log group name.- Returns:
this
-
systemLogLevel
@Stability(Stable) public CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty.Builder systemLogLevel(String systemLogLevel) - Parameters:
systemLogLevel- The system log level.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty>- Returns:
- a new instance of
CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-