@Generated(value="software.amazon.awssdk:codegen") public class ThingTypeMetadata extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ThingTypeMetadata.Builder> |
serializableBuilderClass() |
ThingTypeMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Boolean deprecated()
Whether the thing type is deprecated. If true, no new things could be associated with this type.
public Instant deprecationDate()
The date and time when the thing type was deprecated.
public Instant creationDate()
The date and time when the thing type was created.
public ThingTypeMetadata.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ThingTypeMetadata.Builder,ThingTypeMetadata>public static ThingTypeMetadata.Builder builder()
public static Class<? extends ThingTypeMetadata.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.