Class DetectorEvents.GuardDutyFinding.ScanDetections.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.ScanDetections.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.ScanDetections>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.ScanDetections
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.ScanDetections.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.ScanDetections>
A builder for
DetectorEvents.GuardDutyFinding.ScanDetections-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.highestSeverityThreatDetails(DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails highestSeverityThreatDetails) scannedItemCount(DetectorEvents.GuardDutyFinding.ScannedItemCount scannedItemCount) Sets the value ofDetectorEvents.GuardDutyFinding.ScanDetections.getScannedItemCount()threatDetectedByName(DetectorEvents.GuardDutyFinding.ThreatDetectedByName threatDetectedByName) Sets the value ofDetectorEvents.GuardDutyFinding.ScanDetections.getThreatDetectedByName()threatsDetectedItemCount(DetectorEvents.GuardDutyFinding.ThreatsDetectedItemCount threatsDetectedItemCount)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
highestSeverityThreatDetails
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.ScanDetections.Builder highestSeverityThreatDetails(DetectorEvents.GuardDutyFinding.HighestSeverityThreatDetails highestSeverityThreatDetails) - 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 DetectorEvents.GuardDutyFinding.ScanDetections.Builder scannedItemCount(DetectorEvents.GuardDutyFinding.ScannedItemCount scannedItemCount) Sets the value ofDetectorEvents.GuardDutyFinding.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 DetectorEvents.GuardDutyFinding.ScanDetections.Builder threatDetectedByName(DetectorEvents.GuardDutyFinding.ThreatDetectedByName threatDetectedByName) Sets the value ofDetectorEvents.GuardDutyFinding.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 DetectorEvents.GuardDutyFinding.ScanDetections.Builder threatsDetectedItemCount(DetectorEvents.GuardDutyFinding.ThreatsDetectedItemCount threatsDetectedItemCount) - 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<DetectorEvents.GuardDutyFinding.ScanDetections>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.ScanDetections - Throws:
NullPointerException- if any required attribute was not provided
-