@Generated(value="software.amazon.awssdk:codegen") public final class ActionRemoteIpDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActionRemoteIpDetails.Builder,ActionRemoteIpDetails>
For AwsApiAction, NetworkConnectionAction, and PortProbeAction,
RemoteIpDetails provides information about the remote IP address that was involved in the action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ActionRemoteIpDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ActionRemoteIpDetails.Builder |
builder() |
City |
city()
The city where the remote IP address is located.
|
Country |
country()
The country where the remote IP address is located.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
GeoLocation |
geoLocation()
The coordinates of the location of the remote IP address.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipAddressV4()
The IP address.
|
IpOrganizationDetails |
organization()
The internet service provider (ISP) organization associated with the remote IP address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ActionRemoteIpDetails.Builder> |
serializableBuilderClass() |
ActionRemoteIpDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ipAddressV4()
The IP address.
public final IpOrganizationDetails organization()
The internet service provider (ISP) organization associated with the remote IP address.
public final Country country()
The country where the remote IP address is located.
public final City city()
The city where the remote IP address is located.
public final GeoLocation geoLocation()
The coordinates of the location of the remote IP address.
public ActionRemoteIpDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ActionRemoteIpDetails.Builder,ActionRemoteIpDetails>public static ActionRemoteIpDetails.Builder builder()
public static Class<? extends ActionRemoteIpDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.