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