@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimestreamTimestamp.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimestreamTimestamp.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimestreamTimestamp.Builder> |
serializableBuilderClass() |
TimestreamTimestamp.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unit()
The precision of the timestamp value that results from the expression described in
value. |
String |
value()
An expression that returns a long epoch time value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String value()
An expression that returns a long epoch time value.
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 is MILLISECONDS.
value
.
Valid values: SECONDS | MILLISECONDS | MICROSECONDS |
NANOSECONDS. The default is MILLISECONDS.
public TimestreamTimestamp.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimestreamTimestamp.Builder,TimestreamTimestamp>public static TimestreamTimestamp.Builder builder()
public static Class<? extends TimestreamTimestamp.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.