Class DetectorEvents.GuardDutyFinding.PortProbeAction.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.PortProbeAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.PortProbeAction>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.PortProbeAction
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.PortProbeAction.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.PortProbeAction>
A builder for
DetectorEvents.GuardDutyFinding.PortProbeAction-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofDetectorEvents.GuardDutyFinding.PortProbeAction.getBlocked()build()Builds the configured instance.portProbeDetails(List<? extends DetectorEvents.GuardDutyFinding.PortProbeActionItem> portProbeDetails) Sets the value ofDetectorEvents.GuardDutyFinding.PortProbeAction.getPortProbeDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blocked
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.PortProbeAction.Builder blocked(List<String> blocked) Sets the value ofDetectorEvents.GuardDutyFinding.PortProbeAction.getBlocked()- Parameters:
blocked- blocked property. Specify an array of string values to match this event if the actual value of blocked is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
portProbeDetails
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.PortProbeAction.Builder portProbeDetails(List<? extends DetectorEvents.GuardDutyFinding.PortProbeActionItem> portProbeDetails) Sets the value ofDetectorEvents.GuardDutyFinding.PortProbeAction.getPortProbeDetails()- Parameters:
portProbeDetails- portProbeDetails property. Specify an array of string values to match this event if the actual value of portProbeDetails 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.PortProbeAction>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.PortProbeAction - Throws:
NullPointerException- if any required attribute was not provided
-