@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpAddressDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the IP address of the device that an entity used to perform an action on an affected resource.
Constructor and Description |
---|
IpAddressDetails() |
Modifier and Type | Method and Description |
---|---|
IpAddressDetails |
clone() |
boolean |
equals(Object obj) |
String |
getIpAddressV4()
The Internet Protocol version 4 (IPv4) address of the device.
|
IpCity |
getIpCity()
The city that the IP address originated from.
|
IpCountry |
getIpCountry()
The country that the IP address originated from.
|
IpGeoLocation |
getIpGeoLocation()
The geographic coordinates of the location that the IP address originated from.
|
IpOwner |
getIpOwner()
The registered owner of the IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpAddressV4(String ipAddressV4)
The Internet Protocol version 4 (IPv4) address of the device.
|
void |
setIpCity(IpCity ipCity)
The city that the IP address originated from.
|
void |
setIpCountry(IpCountry ipCountry)
The country that the IP address originated from.
|
void |
setIpGeoLocation(IpGeoLocation ipGeoLocation)
The geographic coordinates of the location that the IP address originated from.
|
void |
setIpOwner(IpOwner ipOwner)
The registered owner of the IP address.
|
String |
toString()
Returns a string representation of this object.
|
IpAddressDetails |
withIpAddressV4(String ipAddressV4)
The Internet Protocol version 4 (IPv4) address of the device.
|
IpAddressDetails |
withIpCity(IpCity ipCity)
The city that the IP address originated from.
|
IpAddressDetails |
withIpCountry(IpCountry ipCountry)
The country that the IP address originated from.
|
IpAddressDetails |
withIpGeoLocation(IpGeoLocation ipGeoLocation)
The geographic coordinates of the location that the IP address originated from.
|
IpAddressDetails |
withIpOwner(IpOwner ipOwner)
The registered owner of the IP address.
|
public void setIpAddressV4(String ipAddressV4)
The Internet Protocol version 4 (IPv4) address of the device.
ipAddressV4
- The Internet Protocol version 4 (IPv4) address of the device.public String getIpAddressV4()
The Internet Protocol version 4 (IPv4) address of the device.
public IpAddressDetails withIpAddressV4(String ipAddressV4)
The Internet Protocol version 4 (IPv4) address of the device.
ipAddressV4
- The Internet Protocol version 4 (IPv4) address of the device.public void setIpCity(IpCity ipCity)
The city that the IP address originated from.
ipCity
- The city that the IP address originated from.public IpCity getIpCity()
The city that the IP address originated from.
public IpAddressDetails withIpCity(IpCity ipCity)
The city that the IP address originated from.
ipCity
- The city that the IP address originated from.public void setIpCountry(IpCountry ipCountry)
The country that the IP address originated from.
ipCountry
- The country that the IP address originated from.public IpCountry getIpCountry()
The country that the IP address originated from.
public IpAddressDetails withIpCountry(IpCountry ipCountry)
The country that the IP address originated from.
ipCountry
- The country that the IP address originated from.public void setIpGeoLocation(IpGeoLocation ipGeoLocation)
The geographic coordinates of the location that the IP address originated from.
ipGeoLocation
- The geographic coordinates of the location that the IP address originated from.public IpGeoLocation getIpGeoLocation()
The geographic coordinates of the location that the IP address originated from.
public IpAddressDetails withIpGeoLocation(IpGeoLocation ipGeoLocation)
The geographic coordinates of the location that the IP address originated from.
ipGeoLocation
- The geographic coordinates of the location that the IP address originated from.public void setIpOwner(IpOwner ipOwner)
The registered owner of the IP address.
ipOwner
- The registered owner of the IP address.public IpOwner getIpOwner()
The registered owner of the IP address.
public IpAddressDetails withIpOwner(IpOwner ipOwner)
The registered owner of the IP address.
ipOwner
- The registered owner of the IP address.public String toString()
toString
in class Object
Object.toString()
public IpAddressDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.