@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateThingTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the CreateThingType operation.
NOOP
Constructor and Description |
---|
CreateThingTypeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateThingTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Tag> |
getTags()
Metadata which can be used to manage the thing type.
|
String |
getThingTypeName()
The name of the thing type.
|
ThingTypeProperties |
getThingTypeProperties()
The ThingTypeProperties for the thing type to create.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the thing type.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type.
|
void |
setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateThingTypeRequest |
withTags(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(String thingTypeName)
The name of the thing type.
|
CreateThingTypeRequest |
withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setThingTypeName(String thingTypeName)
The name of the thing type.
thingTypeName
- The name of the thing type.public String getThingTypeName()
The name of the thing type.
public CreateThingTypeRequest withThingTypeName(String thingTypeName)
The name of the thing type.
thingTypeName
- The name of the thing type.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 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.
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.
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 List<Tag> getTags()
Metadata which can be used to manage the thing type.
public void setTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage the thing type.public CreateThingTypeRequest withTags(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 String toString()
toString
in class Object
Object.toString()
public CreateThingTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()