public class CreateThingTypeRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new thing type.
| Constructor and Description |
|---|
CreateThingTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the thing type.
|
java.lang.String |
getThingTypeName()
The name of the thing type.
|
ThingTypeProperties |
getThingTypeProperties()
The ThingTypeProperties for the thing type to create.
|
int |
hashCode() |
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing type.
|
void |
setThingTypeName(java.lang.String thingTypeName)
The name of the thing type.
|
void |
setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateThingTypeRequest |
withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing type.
|
CreateThingTypeRequest |
withTags(Tag... tags)
Metadata which can be used to manage the thing type.
|
CreateThingTypeRequest |
withThingTypeName(java.lang.String thingTypeName)
The name of the thing type.
|
CreateThingTypeRequest |
withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 CreateThingTypeRequest 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 ThingTypeProperties getThingTypeProperties()
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
public void setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
thingTypeProperties - The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
public CreateThingTypeRequest withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
Returns a reference to this object so that method calls can be chained together.
thingTypeProperties - The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
public java.util.List<Tag> getTags()
Metadata which can be used to manage the thing type.
Metadata which can be used to manage the thing type.
public void setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing type.
tags - Metadata which can be used to manage the thing type.
public CreateThingTypeRequest withTags(Tag... tags)
Metadata which can be used to manage the thing type.
Returns a reference to this object so that method calls can be chained together.
tags - Metadata which can be used to manage the thing type.
public CreateThingTypeRequest withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing type.
Returns a reference to this object so that method calls can be chained together.
tags - Metadata which can be used to manage the thing type.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.