@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionRemoteIpDetails extends Object implements Serializable, Cloneable, StructuredPojo
For AwsApiAction
, NetworkConnectionAction
, and PortProbeAction
,
RemoteIpDetails
provides information about the remote IP address that was involved in the action.
Constructor and Description |
---|
ActionRemoteIpDetails() |
Modifier and Type | Method and Description |
---|---|
ActionRemoteIpDetails |
clone() |
boolean |
equals(Object obj) |
City |
getCity()
The city where the remote IP address is located.
|
Country |
getCountry()
The country where the remote IP address is located.
|
GeoLocation |
getGeoLocation()
The coordinates of the location of the remote IP address.
|
String |
getIpAddressV4()
The IP address.
|
IpOrganizationDetails |
getOrganization()
The internet service provider (ISP) organization associated with the remote IP address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCity(City city)
The city where the remote IP address is located.
|
void |
setCountry(Country country)
The country where the remote IP address is located.
|
void |
setGeoLocation(GeoLocation geoLocation)
The coordinates of the location of the remote IP address.
|
void |
setIpAddressV4(String ipAddressV4)
The IP address.
|
void |
setOrganization(IpOrganizationDetails organization)
The internet service provider (ISP) organization associated with the remote IP address.
|
String |
toString()
Returns a string representation of this object.
|
ActionRemoteIpDetails |
withCity(City city)
The city where the remote IP address is located.
|
ActionRemoteIpDetails |
withCountry(Country country)
The country where the remote IP address is located.
|
ActionRemoteIpDetails |
withGeoLocation(GeoLocation geoLocation)
The coordinates of the location of the remote IP address.
|
ActionRemoteIpDetails |
withIpAddressV4(String ipAddressV4)
The IP address.
|
ActionRemoteIpDetails |
withOrganization(IpOrganizationDetails organization)
The internet service provider (ISP) organization associated with the remote IP address.
|
public void setIpAddressV4(String ipAddressV4)
The IP address.
ipAddressV4
- The IP address.public String getIpAddressV4()
The IP address.
public ActionRemoteIpDetails withIpAddressV4(String ipAddressV4)
The IP address.
ipAddressV4
- The IP address.public void setOrganization(IpOrganizationDetails organization)
The internet service provider (ISP) organization associated with the remote IP address.
organization
- The internet service provider (ISP) organization associated with the remote IP address.public IpOrganizationDetails getOrganization()
The internet service provider (ISP) organization associated with the remote IP address.
public ActionRemoteIpDetails withOrganization(IpOrganizationDetails organization)
The internet service provider (ISP) organization associated with the remote IP address.
organization
- The internet service provider (ISP) organization associated with the remote IP address.public void setCountry(Country country)
The country where the remote IP address is located.
country
- The country where the remote IP address is located.public Country getCountry()
The country where the remote IP address is located.
public ActionRemoteIpDetails withCountry(Country country)
The country where the remote IP address is located.
country
- The country where the remote IP address is located.public void setCity(City city)
The city where the remote IP address is located.
city
- The city where the remote IP address is located.public City getCity()
The city where the remote IP address is located.
public ActionRemoteIpDetails withCity(City city)
The city where the remote IP address is located.
city
- The city where the remote IP address is located.public void setGeoLocation(GeoLocation geoLocation)
The coordinates of the location of the remote IP address.
geoLocation
- The coordinates of the location of the remote IP address.public GeoLocation getGeoLocation()
The coordinates of the location of the remote IP address.
public ActionRemoteIpDetails withGeoLocation(GeoLocation geoLocation)
The coordinates of the location of the remote IP address.
geoLocation
- The coordinates of the location of the remote IP address.public String toString()
toString
in class Object
Object.toString()
public ActionRemoteIpDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.