Class DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.KubernetesApiCallAction>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.KubernetesApiCallAction
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.KubernetesApiCallAction>
A builder for
DetectorEvents.GuardDutyFinding.KubernetesApiCallAction-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parameters(List<String> parameters) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getParameters()remoteIpDetails(DetectorEvents.GuardDutyFinding.RemoteIpDetails2 remoteIpDetails) requestUri(List<String> requestUri) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getRequestUri()Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getSourceIPs()statusCode(List<String> statusCode) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getStatusCode()Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getUserAgent()Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getVerb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameters
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder parameters(List<String> parameters) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getParameters()- Parameters:
parameters- parameters property. Specify an array of string values to match this event if the actual value of parameters 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.KubernetesApiCallAction.Builder remoteIpDetails(DetectorEvents.GuardDutyFinding.RemoteIpDetails2 remoteIpDetails) - 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
-
requestUri
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder requestUri(List<String> requestUri) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getRequestUri()- Parameters:
requestUri- requestUri property. Specify an array of string values to match this event if the actual value of requestUri is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceIPs
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder sourceIPs(List<String> sourceIPs) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getSourceIPs()- Parameters:
sourceIPs- sourceIPs property. Specify an array of string values to match this event if the actual value of sourceIPs is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusCode
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder statusCode(List<String> statusCode) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getStatusCode()- Parameters:
statusCode- statusCode property. Specify an array of string values to match this event if the actual value of statusCode is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userAgent
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder userAgent(List<String> userAgent) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getUserAgent()- Parameters:
userAgent- userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
verb
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.KubernetesApiCallAction.Builder verb(List<String> verb) Sets the value ofDetectorEvents.GuardDutyFinding.KubernetesApiCallAction.getVerb()- Parameters:
verb- verb property. Specify an array of string values to match this event if the actual value of verb 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.KubernetesApiCallAction>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.KubernetesApiCallAction - Throws:
NullPointerException- if any required attribute was not provided
-