Class GuardDutyFinding.ScanDetections.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.ScanDetections.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.ScanDetections>
- Enclosing interface:
GuardDutyFinding.ScanDetections
@Stability(Experimental)
public static final class GuardDutyFinding.ScanDetections.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.ScanDetections>
A builder for
GuardDutyFinding.ScanDetections-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.highestSeverityThreatDetails(GuardDutyFinding.HighestSeverityThreatDetails highestSeverityThreatDetails) Sets the value ofGuardDutyFinding.ScanDetections.getHighestSeverityThreatDetails()scannedItemCount(GuardDutyFinding.ScannedItemCount scannedItemCount) Sets the value ofGuardDutyFinding.ScanDetections.getScannedItemCount()threatDetectedByName(GuardDutyFinding.ThreatDetectedByName threatDetectedByName) Sets the value ofGuardDutyFinding.ScanDetections.getThreatDetectedByName()threatsDetectedItemCount(GuardDutyFinding.ThreatsDetectedItemCount threatsDetectedItemCount) Sets the value ofGuardDutyFinding.ScanDetections.getThreatsDetectedItemCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
highestSeverityThreatDetails
@Stability(Experimental) public GuardDutyFinding.ScanDetections.Builder highestSeverityThreatDetails(GuardDutyFinding.HighestSeverityThreatDetails highestSeverityThreatDetails) Sets the value ofGuardDutyFinding.ScanDetections.getHighestSeverityThreatDetails()- Parameters:
highestSeverityThreatDetails- highestSeverityThreatDetails property. Specify an array of string values to match this event if the actual value of highestSeverityThreatDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
scannedItemCount
@Stability(Experimental) public GuardDutyFinding.ScanDetections.Builder scannedItemCount(GuardDutyFinding.ScannedItemCount scannedItemCount) Sets the value ofGuardDutyFinding.ScanDetections.getScannedItemCount()- Parameters:
scannedItemCount- scannedItemCount property. Specify an array of string values to match this event if the actual value of scannedItemCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
threatDetectedByName
@Stability(Experimental) public GuardDutyFinding.ScanDetections.Builder threatDetectedByName(GuardDutyFinding.ThreatDetectedByName threatDetectedByName) Sets the value ofGuardDutyFinding.ScanDetections.getThreatDetectedByName()- Parameters:
threatDetectedByName- threatDetectedByName property. Specify an array of string values to match this event if the actual value of threatDetectedByName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
threatsDetectedItemCount
@Stability(Experimental) public GuardDutyFinding.ScanDetections.Builder threatsDetectedItemCount(GuardDutyFinding.ThreatsDetectedItemCount threatsDetectedItemCount) Sets the value ofGuardDutyFinding.ScanDetections.getThreatsDetectedItemCount()- Parameters:
threatsDetectedItemCount- threatsDetectedItemCount property. Specify an array of string values to match this event if the actual value of threatsDetectedItemCount 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<GuardDutyFinding.ScanDetections>- Returns:
- a new instance of
GuardDutyFinding.ScanDetections - Throws:
NullPointerException- if any required attribute was not provided
-