@Generated(value="software.amazon.awssdk:codegen") public final class ThingTypeMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThingTypeMetadata.Builder,ThingTypeMetadata>
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThingTypeMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ThingTypeMetadata.Builder |
builder() |
Instant |
creationDate()
The date and time when the thing type was created.
|
Boolean |
deprecated()
Whether the thing type is deprecated.
|
Instant |
deprecationDate()
The date and time when the thing type was deprecated.
|
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 ThingTypeMetadata.Builder> |
serializableBuilderClass() |
ThingTypeMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean deprecated()
Whether the thing type is deprecated. If true, no new things could be associated with this type.
public final Instant deprecationDate()
The date and time when the thing type was deprecated.
public final Instant creationDate()
The date and time when the thing type was created.
public ThingTypeMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ThingTypeMetadata.Builder,ThingTypeMetadata>public static ThingTypeMetadata.Builder builder()
public static Class<? extends ThingTypeMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.