Class EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.imagebuilder.events.EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EC2ImageBuilderCVEDetected.FindingSeverityCounts>
- Enclosing interface:
EC2ImageBuilderCVEDetected.FindingSeverityCounts
@Stability(Experimental)
public static final class EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder
extends Object
implements software.amazon.jsii.Builder<EC2ImageBuilderCVEDetected.FindingSeverityCounts>
A builder for
EC2ImageBuilderCVEDetected.FindingSeverityCounts-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getAll()build()Builds the configured instance.Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getCritical()Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getHigh()Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getMedium()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
all
@Stability(Experimental) public EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder all(List<String> all) Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getAll()- Parameters:
all- all property. Specify an array of string values to match this event if the actual value of all is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
critical
@Stability(Experimental) public EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder critical(List<String> critical) Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getCritical()- Parameters:
critical- critical property. Specify an array of string values to match this event if the actual value of critical is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
high
@Stability(Experimental) public EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder high(List<String> high) Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getHigh()- Parameters:
high- high property. Specify an array of string values to match this event if the actual value of high is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
medium
@Stability(Experimental) public EC2ImageBuilderCVEDetected.FindingSeverityCounts.Builder medium(List<String> medium) Sets the value ofEC2ImageBuilderCVEDetected.FindingSeverityCounts.getMedium()- Parameters:
medium- medium property. Specify an array of string values to match this event if the actual value of medium is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EC2ImageBuilderCVEDetected.FindingSeverityCounts>- Returns:
- a new instance of
EC2ImageBuilderCVEDetected.FindingSeverityCounts - Throws:
NullPointerException- if any required attribute was not provided
-