Class RemoteIpDetails
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.RemoteIpDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RemoteIpDetails.Builder,RemoteIpDetails>
@Generated("software.amazon.awssdk:codegen") public final class RemoteIpDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RemoteIpDetails.Builder,RemoteIpDetails>
Contains information about the remote IP address of the connection.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemoteIpDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteIpDetails.Builderbuilder()Citycity()The city information of the remote IP address.Countrycountry()The country code of the remote IP address.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)GeoLocationgeoLocation()The location information of the remote IP address.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipAddressV4()The IPv4 remote address of the connection.Organizationorganization()The ISP organization information of the remote IP address.List<SdkField<?>>sdkFields()static Class<? extends RemoteIpDetails.Builder>serializableBuilderClass()RemoteIpDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
city
public final City city()
The city information of the remote IP address.
- Returns:
- The city information of the remote IP address.
-
country
public final Country country()
The country code of the remote IP address.
- Returns:
- The country code of the remote IP address.
-
geoLocation
public final GeoLocation geoLocation()
The location information of the remote IP address.
- Returns:
- The location information of the remote IP address.
-
ipAddressV4
public final String ipAddressV4()
The IPv4 remote address of the connection.
- Returns:
- The IPv4 remote address of the connection.
-
organization
public final Organization organization()
The ISP organization information of the remote IP address.
- Returns:
- The ISP organization information of the remote IP address.
-
toBuilder
public RemoteIpDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemoteIpDetails.Builder,RemoteIpDetails>
-
builder
public static RemoteIpDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemoteIpDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-