Class IpAddressDetails
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.IpAddressDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpAddressDetails.Builder,IpAddressDetails>
@Generated("software.amazon.awssdk:codegen") public final class IpAddressDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpAddressDetails.Builder,IpAddressDetails>
Provides information about the IP address of the device that an entity used to perform an action on an affected resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIpAddressDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpAddressDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipAddressV4()The Internet Protocol version 4 (IPv4) address of the device.IpCityipCity()The city that the IP address originated from.IpCountryipCountry()The country that the IP address originated from.IpGeoLocationipGeoLocation()The geographic coordinates of the location that the IP address originated from.IpOwneripOwner()The registered owner of the IP address.List<SdkField<?>>sdkFields()static Class<? extends IpAddressDetails.Builder>serializableBuilderClass()IpAddressDetails.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
-
ipAddressV4
public final String ipAddressV4()
The Internet Protocol version 4 (IPv4) address of the device.
- Returns:
- The Internet Protocol version 4 (IPv4) address of the device.
-
ipCity
public final IpCity ipCity()
The city that the IP address originated from.
- Returns:
- The city that the IP address originated from.
-
ipCountry
public final IpCountry ipCountry()
The country that the IP address originated from.
- Returns:
- The country that the IP address originated from.
-
ipGeoLocation
public final IpGeoLocation ipGeoLocation()
The geographic coordinates of the location that the IP address originated from.
- Returns:
- The geographic coordinates of the location that the IP address originated from.
-
ipOwner
public final IpOwner ipOwner()
The registered owner of the IP address.
- Returns:
- The registered owner of the IP address.
-
toBuilder
public IpAddressDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpAddressDetails.Builder,IpAddressDetails>
-
builder
public static IpAddressDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends IpAddressDetails.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.
-
-