Class GuardDutyFinding.PortProbeAction.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.PortProbeAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.PortProbeAction>
- Enclosing interface:
GuardDutyFinding.PortProbeAction
@Stability(Experimental)
public static final class GuardDutyFinding.PortProbeAction.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.PortProbeAction>
A builder for
GuardDutyFinding.PortProbeAction-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofGuardDutyFinding.PortProbeAction.getBlocked()build()Builds the configured instance.portProbeDetails(List<? extends GuardDutyFinding.PortProbeActionItem> portProbeDetails) Sets the value ofGuardDutyFinding.PortProbeAction.getPortProbeDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blocked
@Stability(Experimental) public GuardDutyFinding.PortProbeAction.Builder blocked(List<String> blocked) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.PortProbeAction.Builder portProbeDetails(List<? extends GuardDutyFinding.PortProbeActionItem> portProbeDetails) Sets the value ofGuardDutyFinding.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<GuardDutyFinding.PortProbeAction>- Returns:
- a new instance of
GuardDutyFinding.PortProbeAction - Throws:
NullPointerException- if any required attribute was not provided
-