public class ThingTypeDefinition
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getThingTypeName()
The name of the thing type.
|
ThingTypeProperties |
getThingTypeProperties()
The ThingTypeProperties for the thing type.
|
int |
hashCode() |
void |
setThingTypeArn(java.lang.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(java.lang.String thingTypeName)
The name of the thing type.
|
void |
setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingTypeDefinition |
withThingTypeArn(java.lang.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(java.lang.String thingTypeName)
The name of the thing type.
|
ThingTypeDefinition |
withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getThingTypeArn()
The thing type ARN.
The thing type ARN.
public void setThingTypeArn(java.lang.String thingTypeArn)
The thing type ARN.
thingTypeArn
- The thing type ARN.
public ThingTypeDefinition withThingTypeArn(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.