public class ThingTypeDefinition extends Object implements Serializable
The definition of the thing type, including thing type name and description.
| Constructor and Description |
|---|
ThingTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getThingTypeArn()
The thing type ARN.
|
ThingTypeMetadata |
getThingTypeMetadata()
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 it was deprecated.
|
String |
getThingTypeName()
The name of the thing type.
|
ThingTypeProperties |
getThingTypeProperties()
The ThingTypeProperties for the thing type.
|
int |
hashCode() |
void |
setThingTypeArn(String thingTypeArn)
The thing type ARN.
|
void |
setThingTypeMetadata(ThingTypeMetadata 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 it was deprecated.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type.
|
void |
setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingTypeDefinition |
withThingTypeArn(String thingTypeArn)
The thing type ARN.
|
ThingTypeDefinition |
withThingTypeMetadata(ThingTypeMetadata 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 it was deprecated.
|
ThingTypeDefinition |
withThingTypeName(String thingTypeName)
The name of the thing type.
|
ThingTypeDefinition |
withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
public String getThingTypeName()
The name of the thing type.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing type.
public void setThingTypeName(String thingTypeName)
The name of the thing type.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type.
public ThingTypeDefinition withThingTypeName(String thingTypeName)
The name of the thing type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type.
public String getThingTypeArn()
The thing type ARN.
The thing type ARN.
public void setThingTypeArn(String thingTypeArn)
The thing type ARN.
thingTypeArn - The thing type ARN.
public ThingTypeDefinition withThingTypeArn(String thingTypeArn)
The thing type ARN.
Returns a reference to this object so that method calls can be chained together.
thingTypeArn - The thing type ARN.
public ThingTypeProperties getThingTypeProperties()
The ThingTypeProperties for the thing type.
The ThingTypeProperties for the thing type.
public void setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
thingTypeProperties - The ThingTypeProperties for the thing type.
public ThingTypeDefinition withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
Returns a reference to this object so that method calls can be chained together.
thingTypeProperties - The ThingTypeProperties for the thing type.
public ThingTypeMetadata getThingTypeMetadata()
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 it was deprecated.
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 it was deprecated.
public void setThingTypeMetadata(ThingTypeMetadata 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 it was deprecated.
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 it was deprecated.
public ThingTypeDefinition withThingTypeMetadata(ThingTypeMetadata 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 it was deprecated.
Returns a reference to this object so that method calls can be chained together.
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 it was deprecated.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.