Interface RemoteIpDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RemoteIpDetails.Builder,RemoteIpDetails>,SdkBuilder<RemoteIpDetails.Builder,RemoteIpDetails>,SdkPojo
- Enclosing class:
- RemoteIpDetails
public static interface RemoteIpDetails.Builder extends SdkPojo, CopyableBuilder<RemoteIpDetails.Builder,RemoteIpDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RemoteIpDetails.Buildercity(Consumer<City.Builder> city)The city information of the remote IP address.RemoteIpDetails.Buildercity(City city)The city information of the remote IP address.default RemoteIpDetails.Buildercountry(Consumer<Country.Builder> country)The country code of the remote IP address.RemoteIpDetails.Buildercountry(Country country)The country code of the remote IP address.default RemoteIpDetails.BuildergeoLocation(Consumer<GeoLocation.Builder> geoLocation)The location information of the remote IP address.RemoteIpDetails.BuildergeoLocation(GeoLocation geoLocation)The location information of the remote IP address.RemoteIpDetails.BuilderipAddressV4(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.RemoteIpDetails.Builderorganization(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, sdkFields
-
-
-
-
Method Detail
-
city
RemoteIpDetails.Builder city(City 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
default RemoteIpDetails.Builder city(Consumer<City.Builder> 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:
city(City)
-
country
RemoteIpDetails.Builder country(Country 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
default RemoteIpDetails.Builder country(Consumer<Country.Builder> 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:
country(Country)
-
geoLocation
RemoteIpDetails.Builder geoLocation(GeoLocation 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
default RemoteIpDetails.Builder geoLocation(Consumer<GeoLocation.Builder> 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:
geoLocation(GeoLocation)
-
ipAddressV4
RemoteIpDetails.Builder ipAddressV4(String 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
RemoteIpDetails.Builder organization(Organization 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
default RemoteIpDetails.Builder organization(Consumer<Organization.Builder> 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:
organization(Organization)
-
-