Class RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryEvents.ECRImageScan.FindingSeverityCounts>
- Enclosing interface:
RepositoryEvents.ECRImageScan.FindingSeverityCounts
@Stability(Experimental)
public static final class RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryEvents.ECRImageScan.FindingSeverityCounts>
A builder for
RepositoryEvents.ECRImageScan.FindingSeverityCounts-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getCritical()Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getHigh()informational(List<String> informational) Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getInformational()Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getLow()Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getMedium()Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getUndefined()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
critical
@Stability(Experimental) public RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder critical(List<String> critical) Sets the value ofRepositoryEvents.ECRImageScan.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 RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder high(List<String> high) Sets the value ofRepositoryEvents.ECRImageScan.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
-
informational
@Stability(Experimental) public RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder informational(List<String> informational) Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getInformational()- Parameters:
informational- INFORMATIONAL property. Specify an array of string values to match this event if the actual value of INFORMATIONAL is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
low
@Stability(Experimental) public RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder low(List<String> low) Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getLow()- Parameters:
low- LOW property. Specify an array of string values to match this event if the actual value of LOW 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 RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder medium(List<String> medium) Sets the value ofRepositoryEvents.ECRImageScan.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
-
undefined
@Stability(Experimental) public RepositoryEvents.ECRImageScan.FindingSeverityCounts.Builder undefined(List<String> undefined) Sets the value ofRepositoryEvents.ECRImageScan.FindingSeverityCounts.getUndefined()- Parameters:
undefined- UNDEFINED property. Specify an array of string values to match this event if the actual value of UNDEFINED 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<RepositoryEvents.ECRImageScan.FindingSeverityCounts>- Returns:
- a new instance of
RepositoryEvents.ECRImageScan.FindingSeverityCounts - Throws:
NullPointerException- if any required attribute was not provided
-