Package io.github.cdklabs.cdknag
Class AnnotationLoggerProps.Builder
- java.lang.Object
-
- io.github.cdklabs.cdknag.AnnotationLoggerProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AnnotationLoggerProps>
- Enclosing interface:
- AnnotationLoggerProps
@Stability(Stable) public static final class AnnotationLoggerProps.Builder extends Object implements software.amazon.jsii.Builder<AnnotationLoggerProps>
A builder forAnnotationLoggerProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationLoggerPropsbuild()Builds the configured instance.AnnotationLoggerProps.BuilderlogIgnores(Boolean logIgnores)Sets the value ofAnnotationLoggerProps.getLogIgnores()AnnotationLoggerProps.Builderverbose(Boolean verbose)Sets the value ofAnnotationLoggerProps.getVerbose()
-
-
-
Method Detail
-
logIgnores
@Stability(Stable) public AnnotationLoggerProps.Builder logIgnores(Boolean logIgnores)
Sets the value ofAnnotationLoggerProps.getLogIgnores()- Parameters:
logIgnores- Whether or not to log suppressed rule violations as informational messages (default: false).- Returns:
this
-
verbose
@Stability(Stable) public AnnotationLoggerProps.Builder verbose(Boolean verbose)
Sets the value ofAnnotationLoggerProps.getVerbose()- Parameters:
verbose- Whether or not to enable extended explanatory descriptions on warning, error, and logged ignore messages.- Returns:
this
-
build
@Stability(Stable) public AnnotationLoggerProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AnnotationLoggerProps>- Returns:
- a new instance of
AnnotationLoggerProps - Throws:
NullPointerException- if any required attribute was not provided
-
-