Interface RemoteIpDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RemoteIpDetails.Builder,
,RemoteIpDetails> SdkBuilder<RemoteIpDetails.Builder,
,RemoteIpDetails> SdkPojo
- Enclosing class:
RemoteIpDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault RemoteIpDetails.Builder
city
(Consumer<City.Builder> city) The city information of the remote IP address.The city information of the remote IP address.default RemoteIpDetails.Builder
country
(Consumer<Country.Builder> country) The country code of the remote IP address.The country code of the remote IP address.default RemoteIpDetails.Builder
geoLocation
(Consumer<GeoLocation.Builder> geoLocation) The location information of the remote IP address.geoLocation
(GeoLocation geoLocation) The location information of the remote IP address.ipAddressV4
(String ipAddressV4) The IPv4 remote address of the connection.ipAddressV6
(String ipAddressV6) The IPv6 remote address of the connection.default RemoteIpDetails.Builder
organization
(Consumer<Organization.Builder> organization) The ISP organization information of the remote IP address.organization
(Organization organization) The ISP organization information of 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, sdkFieldNameToField, sdkFields
-
Method Details
-
city
The city information of the remote IP address.
- Parameters:
city
- The city information of the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
The city information of the remote IP address.
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:
-
country
The country code of the remote IP address.
- Parameters:
country
- The country code of the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
The country code of the remote IP address.
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:
-
geoLocation
The location information of the remote IP address.
- Parameters:
geoLocation
- The location information of the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoLocation
The location information 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:
-
ipAddressV4
The IPv4 remote address of the connection.
- Parameters:
ipAddressV4
- The IPv4 remote address of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressV6
The IPv6 remote address of the connection.
- Parameters:
ipAddressV6
- The IPv6 remote address of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
The ISP organization information of the remote IP address.
- Parameters:
organization
- The ISP organization information of the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
The ISP organization information of the remote IP address.
This is a convenience method that creates an instance of theOrganization.Builder
avoiding the need to create one manually viaOrganization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganization(Organization)
.- Parameters:
organization
- a consumer that will call methods onOrganization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-