public class DeprecateThingTypeRequest extends AmazonWebServiceRequest implements Serializable
Deprecates a thing type. You can not associate new things with deprecated thing type.
| Constructor and Description |
|---|
DeprecateThingTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getThingTypeName()
The name of the thing type to deprecate.
|
Boolean |
getUndoDeprecate()
Whether to undeprecate a deprecated thing type.
|
int |
hashCode() |
Boolean |
isUndoDeprecate()
Whether to undeprecate a deprecated thing type.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type to deprecate.
|
void |
setUndoDeprecate(Boolean undoDeprecate)
Whether to undeprecate a deprecated thing type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeprecateThingTypeRequest |
withThingTypeName(String thingTypeName)
The name of the thing type to deprecate.
|
DeprecateThingTypeRequest |
withUndoDeprecate(Boolean undoDeprecate)
Whether to undeprecate a deprecated thing type.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getThingTypeName()
The name of the thing type to deprecate.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing type to deprecate.
public void setThingTypeName(String thingTypeName)
The name of the thing type to deprecate.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type to deprecate.
public DeprecateThingTypeRequest withThingTypeName(String thingTypeName)
The name of the thing type to deprecate.
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 to deprecate.
public Boolean isUndoDeprecate()
Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
public Boolean getUndoDeprecate()
Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
public void setUndoDeprecate(Boolean undoDeprecate)
Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
undoDeprecate - Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
public DeprecateThingTypeRequest withUndoDeprecate(Boolean undoDeprecate)
Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
Returns a reference to this object so that method calls can be chained together.
undoDeprecate - Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.