Interface RemoteIpDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemoteIpDetails.Builder,,RemoteIpDetails> SdkBuilder<RemoteIpDetails.Builder,,RemoteIpDetails> SdkPojo
- Enclosing class:
RemoteIpDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault RemoteIpDetails.Buildercity(Consumer<City.Builder> city) The city information of the remote IP address.The city information of the remote IP address.default RemoteIpDetails.Buildercountry(Consumer<Country.Builder> country) The country code of the remote IP address.The country code of the remote IP address.default RemoteIpDetails.BuildergeoLocation(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.default RemoteIpDetails.Builderorganization(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaCity.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCountry.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGeoLocation.builder().When the
Consumercompletes,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.
-
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.Builderavoiding the need to create one manually viaOrganization.builder().When the
Consumercompletes,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:
-