Class LogConfig.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.LogConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogConfig>
- Enclosing interface:
- LogConfig
@Stability(Experimental)
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.excludeVerboseContent(Boolean excludeVerboseContent) Sets the value ofLogConfig.getExcludeVerboseContent()excludeVerboseContent(IResolvable excludeVerboseContent) Sets the value ofLogConfig.getExcludeVerboseContent()fieldLogLevel(FieldLogLevel fieldLogLevel) Sets the value ofLogConfig.getFieldLogLevel()Sets the value ofLogConfig.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
excludeVerboseContent
@Stability(Experimental) public LogConfig.Builder excludeVerboseContent(Boolean excludeVerboseContent) Sets the value ofLogConfig.getExcludeVerboseContent()- Parameters:
excludeVerboseContent- exclude verbose content.- Returns:
this
-
excludeVerboseContent
@Stability(Experimental) public LogConfig.Builder excludeVerboseContent(IResolvable excludeVerboseContent) Sets the value ofLogConfig.getExcludeVerboseContent()- Parameters:
excludeVerboseContent- exclude verbose content.- Returns:
this
-
fieldLogLevel
Sets the value ofLogConfig.getFieldLogLevel()- Parameters:
fieldLogLevel- log level for fields.- Returns:
this
-
role
Sets the value ofLogConfig.getRole()- Parameters:
role- The role for CloudWatch Logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LogConfig>- Returns:
- a new instance of
LogConfig - Throws:
NullPointerException- if any required attribute was not provided
-