Class DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.getCount()threatName(List<String> threatName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.Builder count(List<String> count) Sets the value ofDetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.getCount()- Parameters:
count- count property. Specify an array of string values to match this event if the actual value of count is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
severity
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.Builder severity(List<String> severity) - Parameters:
severity- severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
threatName
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails.Builder threatName(List<String> threatName) - Parameters:
threatName- threatName property. Specify an array of string values to match this event if the actual value of threatName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails - Throws:
NullPointerException- if any required attribute was not provided
-