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