Class NewGeolocationDetail
- java.lang.Object
-
- software.amazon.awssdk.services.detective.model.NewGeolocationDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NewGeolocationDetail.Builder,NewGeolocationDetail>
@Generated("software.amazon.awssdk:codegen") public final class NewGeolocationDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NewGeolocationDetail.Builder,NewGeolocationDetail>
Details new geolocations used either at the resource or account level. For example, lists an observed geolocation that is an infrequent or unused location based on previous user activity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNewGeolocationDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewGeolocationDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipAddress()IP address using which the resource was accessed.BooleanisNewForEntireAccount()Checks if the geolocation is new for the entire account.Stringlocation()Location where the resource was accessed.List<SdkField<?>>sdkFields()static Class<? extends NewGeolocationDetail.Builder>serializableBuilderClass()NewGeolocationDetail.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
-
location
public final String location()
Location where the resource was accessed.
- Returns:
- Location where the resource was accessed.
-
ipAddress
public final String ipAddress()
IP address using which the resource was accessed.
- Returns:
- IP address using which the resource was accessed.
-
isNewForEntireAccount
public final Boolean isNewForEntireAccount()
Checks if the geolocation is new for the entire account.
- Returns:
- Checks if the geolocation is new for the entire account.
-
toBuilder
public NewGeolocationDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NewGeolocationDetail.Builder,NewGeolocationDetail>
-
builder
public static NewGeolocationDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends NewGeolocationDetail.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.
-
-