Class DetectorEvents.GuardDutyFinding.PortProbeActionItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.PortProbeActionItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.PortProbeActionItem>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.PortProbeActionItem
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.PortProbeActionItem.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.PortProbeActionItem>
A builder for
DetectorEvents.GuardDutyFinding.PortProbeActionItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.localIpDetails(DetectorEvents.GuardDutyFinding.LocalIpDetails1 localIpDetails) Sets the value ofDetectorEvents.GuardDutyFinding.PortProbeActionItem.getLocalIpDetails()localPortDetails(DetectorEvents.GuardDutyFinding.LocalPortDetails1 localPortDetails) remoteIpDetails(DetectorEvents.GuardDutyFinding.RemoteIpDetails4 remoteIpDetails) Sets the value ofDetectorEvents.GuardDutyFinding.PortProbeActionItem.getRemoteIpDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localIpDetails
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.PortProbeActionItem.Builder localIpDetails(DetectorEvents.GuardDutyFinding.LocalIpDetails1 localIpDetails) Sets the value ofDetectorEvents.GuardDutyFinding.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 DetectorEvents.GuardDutyFinding.PortProbeActionItem.Builder localPortDetails(DetectorEvents.GuardDutyFinding.LocalPortDetails1 localPortDetails) - 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 DetectorEvents.GuardDutyFinding.PortProbeActionItem.Builder remoteIpDetails(DetectorEvents.GuardDutyFinding.RemoteIpDetails4 remoteIpDetails) Sets the value ofDetectorEvents.GuardDutyFinding.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<DetectorEvents.GuardDutyFinding.PortProbeActionItem>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.PortProbeActionItem - Throws:
NullPointerException- if any required attribute was not provided
-