Class DetectorEvents.GuardDutyFinding.Anomalies.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.Anomalies.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.Anomalies>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.Anomalies
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.Anomalies.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.Anomalies>
A builder for
DetectorEvents.GuardDutyFinding.Anomalies-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalousApIs(List<String> anomalousApIs) Sets the value ofDetectorEvents.GuardDutyFinding.Anomalies.getAnomalousApIs()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalousApIs
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.Anomalies.Builder anomalousApIs(List<String> anomalousApIs) Sets the value ofDetectorEvents.GuardDutyFinding.Anomalies.getAnomalousApIs()- Parameters:
anomalousApIs- anomalousAPIs property. Specify an array of string values to match this event if the actual value of anomalousAPIs 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.Anomalies>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.Anomalies - Throws:
NullPointerException- if any required attribute was not provided
-