Class GuardDutyFinding.RemoteIpDetails4.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.RemoteIpDetails4.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.RemoteIpDetails4>
- Enclosing interface:
GuardDutyFinding.RemoteIpDetails4
@Stability(Experimental)
public static final class GuardDutyFinding.RemoteIpDetails4.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.RemoteIpDetails4>
A builder for
GuardDutyFinding.RemoteIpDetails4-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.city(GuardDutyFinding.City4 city) Sets the value ofGuardDutyFinding.RemoteIpDetails4.getCity()country(GuardDutyFinding.Country4 country) Sets the value ofGuardDutyFinding.RemoteIpDetails4.getCountry()geoLocation(GuardDutyFinding.GeoLocation1 geoLocation) Sets the value ofGuardDutyFinding.RemoteIpDetails4.getGeoLocation()ipAddressV4(List<String> ipAddressV4) Sets the value ofGuardDutyFinding.RemoteIpDetails4.getIpAddressV4()organization(GuardDutyFinding.Organization4 organization) Sets the value ofGuardDutyFinding.RemoteIpDetails4.getOrganization()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
city
@Stability(Experimental) public GuardDutyFinding.RemoteIpDetails4.Builder city(GuardDutyFinding.City4 city) Sets the value ofGuardDutyFinding.RemoteIpDetails4.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 GuardDutyFinding.RemoteIpDetails4.Builder country(GuardDutyFinding.Country4 country) Sets the value ofGuardDutyFinding.RemoteIpDetails4.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 GuardDutyFinding.RemoteIpDetails4.Builder geoLocation(GuardDutyFinding.GeoLocation1 geoLocation) Sets the value ofGuardDutyFinding.RemoteIpDetails4.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 GuardDutyFinding.RemoteIpDetails4.Builder ipAddressV4(List<String> ipAddressV4) Sets the value ofGuardDutyFinding.RemoteIpDetails4.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 GuardDutyFinding.RemoteIpDetails4.Builder organization(GuardDutyFinding.Organization4 organization) Sets the value ofGuardDutyFinding.RemoteIpDetails4.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<GuardDutyFinding.RemoteIpDetails4>- Returns:
- a new instance of
GuardDutyFinding.RemoteIpDetails4 - Throws:
NullPointerException- if any required attribute was not provided
-