Class ThingTypeMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.ThingTypeMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ThingTypeMetadata.Builder,ThingTypeMetadata>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceThingTypeMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThingTypeMetadata.Builderbuilder()InstantcreationDate()The date and time when the thing type was created.Booleandeprecated()Whether the thing type is deprecated.InstantdeprecationDate()The date and time when the thing type was deprecated.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ThingTypeMetadata.Builder>serializableBuilderClass()ThingTypeMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
deprecated
public final Boolean deprecated()
Whether the thing type is deprecated. If true, no new things could be associated with this type.
- Returns:
- Whether the thing type is deprecated. If true, no new things could be associated with this type.
-
deprecationDate
public final Instant deprecationDate()
The date and time when the thing type was deprecated.
- Returns:
- The date and time when the thing type was deprecated.
-
creationDate
public final Instant creationDate()
The date and time when the thing type was created.
- Returns:
- The date and time when the thing type was created.
-
toBuilder
public ThingTypeMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ThingTypeMetadata.Builder,ThingTypeMetadata>
-
builder
public static ThingTypeMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends ThingTypeMetadata.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.
-
-