Class InspectorScanVariables.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.InspectorScanVariables.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InspectorScanVariables>
- Enclosing interface:
InspectorScanVariables
@Stability(Stable)
public static final class InspectorScanVariables.Builder
extends Object
implements software.amazon.jsii.Builder<InspectorScanVariables>
A builder for
InspectorScanVariables-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.highestScannedSeverity(String highestScannedSeverity) Sets the value ofInspectorScanVariables.getHighestScannedSeverity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
highestScannedSeverity
@Stability(Stable) public InspectorScanVariables.Builder highestScannedSeverity(String highestScannedSeverity) Sets the value ofInspectorScanVariables.getHighestScannedSeverity()- Parameters:
highestScannedSeverity- The highest severity output from the scan. This parameter is required. Valid values are medium | high | critical.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InspectorScanVariables>- Returns:
- a new instance of
InspectorScanVariables - Throws:
NullPointerException- if any required attribute was not provided
-