Package io.github.cdklabs.cdknag
Class NagReportSchema.Builder
- java.lang.Object
-
- io.github.cdklabs.cdknag.NagReportSchema.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NagReportSchema>
- Enclosing interface:
- NagReportSchema
@Stability(Stable) public static final class NagReportSchema.Builder extends Object implements software.amazon.jsii.Builder<NagReportSchema>
A builder forNagReportSchema
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NagReportSchemabuild()Builds the configured instance.NagReportSchema.Builderlines(List<? extends NagReportLine> lines)Sets the value ofNagReportSchema.getLines()
-
-
-
Method Detail
-
lines
@Stability(Stable) public NagReportSchema.Builder lines(List<? extends NagReportLine> lines)
Sets the value ofNagReportSchema.getLines()- Parameters:
lines- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NagReportSchema build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NagReportSchema>- Returns:
- a new instance of
NagReportSchema - Throws:
NullPointerException- if any required attribute was not provided
-
-