Class LocationTimestamp
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.LocationTimestamp
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LocationTimestamp.Builder,LocationTimestamp>
@Generated("software.amazon.awssdk:codegen") public final class LocationTimestamp extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocationTimestamp.Builder,LocationTimestamp>
Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLocationTimestamp.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocationTimestamp.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends LocationTimestamp.Builder>serializableBuilderClass()LocationTimestamp.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringunit()The precision of the timestamp value that results from the expression described invalue.Stringvalue()An expression that returns a long epoch time value.-
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
-
value
public final String value()
An expression that returns a long epoch time value.
- Returns:
- An expression that returns a long epoch time value.
-
unit
public final String unit()
The precision of the timestamp value that results from the expression described in
value.Valid values:
SECONDS|MILLISECONDS|MICROSECONDS|NANOSECONDS. The default isMILLISECONDS.- Returns:
- The precision of the timestamp value that results from the expression described in
value.Valid values:
SECONDS|MILLISECONDS|MICROSECONDS|NANOSECONDS. The default isMILLISECONDS.
-
toBuilder
public LocationTimestamp.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LocationTimestamp.Builder,LocationTimestamp>
-
builder
public static LocationTimestamp.Builder builder()
-
serializableBuilderClass
public static Class<? extends LocationTimestamp.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.
-
-