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