public class DeleteThingGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a thing group.
Constructor and Description |
---|
DeleteThingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getExpectedVersion()
The expected version of the thing group to delete.
|
java.lang.String |
getThingGroupName()
The name of the thing group to delete.
|
int |
hashCode() |
void |
setExpectedVersion(java.lang.Long expectedVersion)
The expected version of the thing group to delete.
|
void |
setThingGroupName(java.lang.String thingGroupName)
The name of the thing group to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteThingGroupRequest |
withExpectedVersion(java.lang.Long expectedVersion)
The expected version of the thing group to delete.
|
DeleteThingGroupRequest |
withThingGroupName(java.lang.String thingGroupName)
The name of the thing group to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getThingGroupName()
The name of the thing group to delete.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing group to delete.
public void setThingGroupName(java.lang.String thingGroupName)
The name of the thing group to delete.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName
- The name of the thing group to delete.
public DeleteThingGroupRequest withThingGroupName(java.lang.String thingGroupName)
The name of the thing group to delete.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName
- The name of the thing group to delete.
public java.lang.Long getExpectedVersion()
The expected version of the thing group to delete.
The expected version of the thing group to delete.
public void setExpectedVersion(java.lang.Long expectedVersion)
The expected version of the thing group to delete.
expectedVersion
- The expected version of the thing group to delete.
public DeleteThingGroupRequest withExpectedVersion(java.lang.Long expectedVersion)
The expected version of the thing group to delete.
Returns a reference to this object so that method calls can be chained together.
expectedVersion
- The expected version of the thing group to delete.
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.