@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThingTypeMetadata extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ThingTypeMetadata() |
Modifier and Type | Method and Description |
---|---|
ThingTypeMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date and time when the thing type was created.
|
Boolean |
getDeprecated()
Whether the thing type is deprecated.
|
Date |
getDeprecationDate()
The date and time when the thing type was deprecated.
|
int |
hashCode() |
Boolean |
isDeprecated()
Whether the thing type is deprecated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The date and time when the thing type was created.
|
void |
setDeprecated(Boolean deprecated)
Whether the thing type is deprecated.
|
void |
setDeprecationDate(Date deprecationDate)
The date and time when the thing type was deprecated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ThingTypeMetadata |
withCreationDate(Date creationDate)
The date and time when the thing type was created.
|
ThingTypeMetadata |
withDeprecated(Boolean deprecated)
Whether the thing type is deprecated.
|
ThingTypeMetadata |
withDeprecationDate(Date deprecationDate)
The date and time when the thing type was deprecated.
|
public void setDeprecated(Boolean deprecated)
Whether the thing type is deprecated. If true, no new things could be associated with this type.
deprecated
- Whether the thing type is deprecated. If true, no new things could be associated with this type.public Boolean getDeprecated()
Whether the thing type is deprecated. If true, no new things could be associated with this type.
public ThingTypeMetadata withDeprecated(Boolean deprecated)
Whether the thing type is deprecated. If true, no new things could be associated with this type.
deprecated
- Whether the thing type is deprecated. If true, no new things could be associated with this type.public Boolean isDeprecated()
Whether the thing type is deprecated. If true, no new things could be associated with this type.
public void setDeprecationDate(Date deprecationDate)
The date and time when the thing type was deprecated.
deprecationDate
- The date and time when the thing type was deprecated.public Date getDeprecationDate()
The date and time when the thing type was deprecated.
public ThingTypeMetadata withDeprecationDate(Date deprecationDate)
The date and time when the thing type was deprecated.
deprecationDate
- The date and time when the thing type was deprecated.public void setCreationDate(Date creationDate)
The date and time when the thing type was created.
creationDate
- The date and time when the thing type was created.public Date getCreationDate()
The date and time when the thing type was created.
public ThingTypeMetadata withCreationDate(Date creationDate)
The date and time when the thing type was created.
creationDate
- The date and time when the thing type was created.public String toString()
toString
in class Object
Object.toString()
public ThingTypeMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.