Class ImpossibleTravelDetail
- java.lang.Object
-
- software.amazon.awssdk.services.detective.model.ImpossibleTravelDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImpossibleTravelDetail.Builder,ImpossibleTravelDetail>
@Generated("software.amazon.awssdk:codegen") public final class ImpossibleTravelDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImpossibleTravelDetail.Builder,ImpossibleTravelDetail>
Contains information on unusual and impossible travel in an account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImpossibleTravelDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImpossibleTravelDetail.Builderbuilder()StringendingIpAddress()IP address where the resource was last used in the impossible travel.StringendingLocation()Location where the resource was last used in the impossible travel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerhourlyTimeDelta()Returns the time difference between the first and last timestamp the resource was used.List<SdkField<?>>sdkFields()static Class<? extends ImpossibleTravelDetail.Builder>serializableBuilderClass()StringstartingIpAddress()IP address where the resource was first used in the impossible travelStringstartingLocation()Location where the resource was first used in the impossible travelImpossibleTravelDetail.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
-
startingIpAddress
public final String startingIpAddress()
IP address where the resource was first used in the impossible travel
- Returns:
- IP address where the resource was first used in the impossible travel
-
endingIpAddress
public final String endingIpAddress()
IP address where the resource was last used in the impossible travel.
- Returns:
- IP address where the resource was last used in the impossible travel.
-
startingLocation
public final String startingLocation()
Location where the resource was first used in the impossible travel
- Returns:
- Location where the resource was first used in the impossible travel
-
endingLocation
public final String endingLocation()
Location where the resource was last used in the impossible travel.
- Returns:
- Location where the resource was last used in the impossible travel.
-
hourlyTimeDelta
public final Integer hourlyTimeDelta()
Returns the time difference between the first and last timestamp the resource was used.
- Returns:
- Returns the time difference between the first and last timestamp the resource was used.
-
toBuilder
public ImpossibleTravelDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImpossibleTravelDetail.Builder,ImpossibleTravelDetail>
-
builder
public static ImpossibleTravelDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImpossibleTravelDetail.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.
-
-