Class TimestreamTimestamp
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.TimestreamTimestamp
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimestreamTimestamp.Builder,TimestreamTimestamp>
@Generated("software.amazon.awssdk:codegen") public final class TimestreamTimestamp extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimestreamTimestamp.Builder,TimestreamTimestamp>
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 interfaceTimestreamTimestamp.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestreamTimestamp.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TimestreamTimestamp.Builder>serializableBuilderClass()TimestreamTimestamp.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 TimestreamTimestamp.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimestreamTimestamp.Builder,TimestreamTimestamp>
-
builder
public static TimestreamTimestamp.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimestreamTimestamp.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.
-
-