Interface IpAddressDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpAddressDetails.Builder,IpAddressDetails>,SdkBuilder<IpAddressDetails.Builder,IpAddressDetails>,SdkPojo
- Enclosing class:
- IpAddressDetails
public static interface IpAddressDetails.Builder extends SdkPojo, CopyableBuilder<IpAddressDetails.Builder,IpAddressDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IpAddressDetails.BuilderipAddressV4(String ipAddressV4)The Internet Protocol version 4 (IPv4) address of the device.default IpAddressDetails.BuilderipCity(Consumer<IpCity.Builder> ipCity)The city that the IP address originated from.IpAddressDetails.BuilderipCity(IpCity ipCity)The city that the IP address originated from.default IpAddressDetails.BuilderipCountry(Consumer<IpCountry.Builder> ipCountry)The country that the IP address originated from.IpAddressDetails.BuilderipCountry(IpCountry ipCountry)The country that the IP address originated from.default IpAddressDetails.BuilderipGeoLocation(Consumer<IpGeoLocation.Builder> ipGeoLocation)The geographic coordinates of the location that the IP address originated from.IpAddressDetails.BuilderipGeoLocation(IpGeoLocation ipGeoLocation)The geographic coordinates of the location that the IP address originated from.default IpAddressDetails.BuilderipOwner(Consumer<IpOwner.Builder> ipOwner)The registered owner of the IP address.IpAddressDetails.BuilderipOwner(IpOwner ipOwner)The registered owner of the 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
-
ipAddressV4
IpAddressDetails.Builder ipAddressV4(String ipAddressV4)
The Internet Protocol version 4 (IPv4) address of the device.
- Parameters:
ipAddressV4- The Internet Protocol version 4 (IPv4) address of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipCity
IpAddressDetails.Builder ipCity(IpCity ipCity)
The city that the IP address originated from.
- Parameters:
ipCity- The city that the IP address originated from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipCity
default IpAddressDetails.Builder ipCity(Consumer<IpCity.Builder> ipCity)
The city that the IP address originated from.
This is a convenience method that creates an instance of theIpCity.Builderavoiding the need to create one manually viaIpCity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipCity(IpCity).- Parameters:
ipCity- a consumer that will call methods onIpCity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ipCity(IpCity)
-
ipCountry
IpAddressDetails.Builder ipCountry(IpCountry ipCountry)
The country that the IP address originated from.
- Parameters:
ipCountry- The country that the IP address originated from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipCountry
default IpAddressDetails.Builder ipCountry(Consumer<IpCountry.Builder> ipCountry)
The country that the IP address originated from.
This is a convenience method that creates an instance of theIpCountry.Builderavoiding the need to create one manually viaIpCountry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipCountry(IpCountry).- Parameters:
ipCountry- a consumer that will call methods onIpCountry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ipCountry(IpCountry)
-
ipGeoLocation
IpAddressDetails.Builder ipGeoLocation(IpGeoLocation ipGeoLocation)
The geographic coordinates of the location that the IP address originated from.
- Parameters:
ipGeoLocation- The geographic coordinates of the location that the IP address originated from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipGeoLocation
default IpAddressDetails.Builder ipGeoLocation(Consumer<IpGeoLocation.Builder> ipGeoLocation)
The geographic coordinates of the location that the IP address originated from.
This is a convenience method that creates an instance of theIpGeoLocation.Builderavoiding the need to create one manually viaIpGeoLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipGeoLocation(IpGeoLocation).- Parameters:
ipGeoLocation- a consumer that will call methods onIpGeoLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ipGeoLocation(IpGeoLocation)
-
ipOwner
IpAddressDetails.Builder ipOwner(IpOwner ipOwner)
The registered owner of the IP address.
- Parameters:
ipOwner- The registered owner of the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipOwner
default IpAddressDetails.Builder ipOwner(Consumer<IpOwner.Builder> ipOwner)
The registered owner of the IP address.
This is a convenience method that creates an instance of theIpOwner.Builderavoiding the need to create one manually viaIpOwner.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipOwner(IpOwner).- Parameters:
ipOwner- a consumer that will call methods onIpOwner.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ipOwner(IpOwner)
-
-