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