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