public class DeprecateThingTypeRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getThingTypeName()
The name of the thing type to deprecate.
|
java.lang.Boolean |
getUndoDeprecate()
Whether to undeprecate a deprecated thing type.
|
int |
hashCode() |
java.lang.Boolean |
isUndoDeprecate()
Whether to undeprecate a deprecated thing type.
|
void |
setThingTypeName(java.lang.String thingTypeName)
The name of the thing type to deprecate.
|
void |
setUndoDeprecate(java.lang.Boolean undoDeprecate)
Whether to undeprecate a deprecated thing type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeprecateThingTypeRequest |
withThingTypeName(java.lang.String thingTypeName)
The name of the thing type to deprecate.
|
DeprecateThingTypeRequest |
withUndoDeprecate(java.lang.Boolean undoDeprecate)
Whether to undeprecate a deprecated thing type.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.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(java.lang.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(java.lang.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 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.