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