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