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