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