@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateThingGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateThingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateThingGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getExpectedVersion()
The expected version of the thing group.
|
String |
getThingGroupName()
The thing group to update.
|
ThingGroupProperties |
getThingGroupProperties()
The thing group properties.
|
int |
hashCode() |
void |
setExpectedVersion(Long expectedVersion)
The expected version of the thing group.
|
void |
setThingGroupName(String thingGroupName)
The thing group to update.
|
void |
setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
|
String |
toString()
Returns a string representation of this object.
|
UpdateThingGroupRequest |
withExpectedVersion(Long expectedVersion)
The expected version of the thing group.
|
UpdateThingGroupRequest |
withThingGroupName(String thingGroupName)
The thing group to update.
|
UpdateThingGroupRequest |
withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
|
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 setThingGroupName(String thingGroupName)
The thing group to update.
thingGroupName
- The thing group to update.public String getThingGroupName()
The thing group to update.
public UpdateThingGroupRequest withThingGroupName(String thingGroupName)
The thing group to update.
thingGroupName
- The thing group to update.public void setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
thingGroupProperties
- The thing group properties.public ThingGroupProperties getThingGroupProperties()
The thing group properties.
public UpdateThingGroupRequest withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
thingGroupProperties
- The thing group properties.public void setExpectedVersion(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 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.
public UpdateThingGroupRequest withExpectedVersion(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 String toString()
toString
in class Object
Object.toString()
public UpdateThingGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()