Package io.github.cdklabs.cdknag
Class SuppressionIgnoreInput.Builder
- java.lang.Object
-
- io.github.cdklabs.cdknag.SuppressionIgnoreInput.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SuppressionIgnoreInput>
- Enclosing interface:
- SuppressionIgnoreInput
@Stability(Stable) public static final class SuppressionIgnoreInput.Builder extends Object implements software.amazon.jsii.Builder<SuppressionIgnoreInput>
A builder forSuppressionIgnoreInput
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuppressionIgnoreInputbuild()Builds the configured instance.SuppressionIgnoreInput.BuilderfindingId(String findingId)Sets the value ofSuppressionIgnoreInput.getFindingId()SuppressionIgnoreInput.Builderreason(String reason)Sets the value ofSuppressionIgnoreInput.getReason()SuppressionIgnoreInput.Builderresource(software.amazon.awscdk.CfnResource resource)Sets the value ofSuppressionIgnoreInput.getResource()SuppressionIgnoreInput.BuilderruleId(String ruleId)Sets the value ofSuppressionIgnoreInput.getRuleId()SuppressionIgnoreInput.BuilderruleLevel(NagMessageLevel ruleLevel)Sets the value ofSuppressionIgnoreInput.getRuleLevel()
-
-
-
Method Detail
-
findingId
@Stability(Stable) public SuppressionIgnoreInput.Builder findingId(String findingId)
Sets the value ofSuppressionIgnoreInput.getFindingId()- Parameters:
findingId- the value to be set. This parameter is required.- Returns:
this
-
reason
@Stability(Stable) public SuppressionIgnoreInput.Builder reason(String reason)
Sets the value ofSuppressionIgnoreInput.getReason()- Parameters:
reason- the value to be set. This parameter is required.- Returns:
this
-
resource
@Stability(Stable) public SuppressionIgnoreInput.Builder resource(software.amazon.awscdk.CfnResource resource)
Sets the value ofSuppressionIgnoreInput.getResource()- Parameters:
resource- the value to be set. This parameter is required.- Returns:
this
-
ruleId
@Stability(Stable) public SuppressionIgnoreInput.Builder ruleId(String ruleId)
Sets the value ofSuppressionIgnoreInput.getRuleId()- Parameters:
ruleId- the value to be set. This parameter is required.- Returns:
this
-
ruleLevel
@Stability(Stable) public SuppressionIgnoreInput.Builder ruleLevel(NagMessageLevel ruleLevel)
Sets the value ofSuppressionIgnoreInput.getRuleLevel()- Parameters:
ruleLevel- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SuppressionIgnoreInput build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SuppressionIgnoreInput>- Returns:
- a new instance of
SuppressionIgnoreInput - Throws:
NullPointerException- if any required attribute was not provided
-
-