Interface ActionRemoteIpDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionRemoteIpDetails.Builder,
,ActionRemoteIpDetails> SdkBuilder<ActionRemoteIpDetails.Builder,
,ActionRemoteIpDetails> SdkPojo
- Enclosing class:
ActionRemoteIpDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActionRemoteIpDetails.Builder
city
(Consumer<City.Builder> city) The city where the remote IP address is located.The city where the remote IP address is located.default ActionRemoteIpDetails.Builder
country
(Consumer<Country.Builder> country) The country where the remote IP address is located.The country where the remote IP address is located.default ActionRemoteIpDetails.Builder
geoLocation
(Consumer<GeoLocation.Builder> geoLocation) The coordinates of the location of the remote IP address.geoLocation
(GeoLocation geoLocation) The coordinates of the location of the remote IP address.ipAddressV4
(String ipAddressV4) The IP address.default ActionRemoteIpDetails.Builder
organization
(Consumer<IpOrganizationDetails.Builder> organization) The internet service provider (ISP) organization associated with the remote IP address.organization
(IpOrganizationDetails organization) The internet service provider (ISP) organization associated with the remote IP address.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ipAddressV4
The IP address.
- Parameters:
ipAddressV4
- The IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
The internet service provider (ISP) organization associated with the remote IP address.
- Parameters:
organization
- The internet service provider (ISP) organization associated with the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
default ActionRemoteIpDetails.Builder organization(Consumer<IpOrganizationDetails.Builder> organization) The internet service provider (ISP) organization associated with the remote IP address.
This is a convenience method that creates an instance of theIpOrganizationDetails.Builder
avoiding the need to create one manually viaIpOrganizationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganization(IpOrganizationDetails)
.- Parameters:
organization
- a consumer that will call methods onIpOrganizationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
country
The country where the remote IP address is located.
- Parameters:
country
- The country where the remote IP address is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
The country where the remote IP address is located.
This is a convenience method that creates an instance of theCountry.Builder
avoiding the need to create one manually viaCountry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocountry(Country)
.- Parameters:
country
- a consumer that will call methods onCountry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
city
The city where the remote IP address is located.
- Parameters:
city
- The city where the remote IP address is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
The city where the remote IP address is located.
This is a convenience method that creates an instance of theCity.Builder
avoiding the need to create one manually viaCity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocity(City)
.- Parameters:
city
- a consumer that will call methods onCity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
geoLocation
The coordinates of the location of the remote IP address.
- Parameters:
geoLocation
- The coordinates of the location of the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoLocation
The coordinates of the location of the remote IP address.
This is a convenience method that creates an instance of theGeoLocation.Builder
avoiding the need to create one manually viaGeoLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeoLocation(GeoLocation)
.- Parameters:
geoLocation
- a consumer that will call methods onGeoLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-