Class GuardDutyFinding.Action.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.Action.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.Action>
- Enclosing interface:
GuardDutyFinding.Action
@Stability(Experimental)
public static final class GuardDutyFinding.Action.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.Action>
A builder for
GuardDutyFinding.Action-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionType(List<String> actionType) Sets the value ofGuardDutyFinding.Action.getActionType()awsApiCallAction(GuardDutyFinding.AwsApiCallAction1 awsApiCallAction) Sets the value ofGuardDutyFinding.Action.getAwsApiCallAction()build()Builds the configured instance.dnsRequestAction(GuardDutyFinding.DnsRequestAction dnsRequestAction) Sets the value ofGuardDutyFinding.Action.getDnsRequestAction()kubernetesApiCallAction(GuardDutyFinding.KubernetesApiCallAction kubernetesApiCallAction) Sets the value ofGuardDutyFinding.Action.getKubernetesApiCallAction()networkConnectionAction(GuardDutyFinding.NetworkConnectionAction networkConnectionAction) Sets the value ofGuardDutyFinding.Action.getNetworkConnectionAction()portProbeAction(GuardDutyFinding.PortProbeAction portProbeAction) Sets the value ofGuardDutyFinding.Action.getPortProbeAction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionType
Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Action.Builder awsApiCallAction(GuardDutyFinding.AwsApiCallAction1 awsApiCallAction) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Action.Builder dnsRequestAction(GuardDutyFinding.DnsRequestAction dnsRequestAction) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Action.Builder kubernetesApiCallAction(GuardDutyFinding.KubernetesApiCallAction kubernetesApiCallAction) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Action.Builder networkConnectionAction(GuardDutyFinding.NetworkConnectionAction networkConnectionAction) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.Action.Builder portProbeAction(GuardDutyFinding.PortProbeAction portProbeAction) Sets the value ofGuardDutyFinding.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<GuardDutyFinding.Action>- Returns:
- a new instance of
GuardDutyFinding.Action - Throws:
NullPointerException- if any required attribute was not provided
-