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