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