@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateThingGroupsForThingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateThingGroupsForThingRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateThingGroupsForThingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getThingGroupsToAdd()
The groups to which the thing will be added.
|
List<String> |
getThingGroupsToRemove()
The groups from which the thing will be removed.
|
String |
getThingName()
The thing whose group memberships will be updated.
|
int |
hashCode() |
void |
setThingGroupsToAdd(Collection<String> thingGroupsToAdd)
The groups to which the thing will be added.
|
void |
setThingGroupsToRemove(Collection<String> thingGroupsToRemove)
The groups from which the thing will be removed.
|
void |
setThingName(String thingName)
The thing whose group memberships will be updated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateThingGroupsForThingRequest |
withThingGroupsToAdd(Collection<String> thingGroupsToAdd)
The groups to which the thing will be added.
|
UpdateThingGroupsForThingRequest |
withThingGroupsToAdd(String... thingGroupsToAdd)
The groups to which the thing will be added.
|
UpdateThingGroupsForThingRequest |
withThingGroupsToRemove(Collection<String> thingGroupsToRemove)
The groups from which the thing will be removed.
|
UpdateThingGroupsForThingRequest |
withThingGroupsToRemove(String... thingGroupsToRemove)
The groups from which the thing will be removed.
|
UpdateThingGroupsForThingRequest |
withThingName(String thingName)
The thing whose group memberships will be updated.
|
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 setThingName(String thingName)
The thing whose group memberships will be updated.
thingName
- The thing whose group memberships will be updated.public String getThingName()
The thing whose group memberships will be updated.
public UpdateThingGroupsForThingRequest withThingName(String thingName)
The thing whose group memberships will be updated.
thingName
- The thing whose group memberships will be updated.public List<String> getThingGroupsToAdd()
The groups to which the thing will be added.
public void setThingGroupsToAdd(Collection<String> thingGroupsToAdd)
The groups to which the thing will be added.
thingGroupsToAdd
- The groups to which the thing will be added.public UpdateThingGroupsForThingRequest withThingGroupsToAdd(String... thingGroupsToAdd)
The groups to which the thing will be added.
NOTE: This method appends the values to the existing list (if any). Use
setThingGroupsToAdd(java.util.Collection)
or withThingGroupsToAdd(java.util.Collection)
if you
want to override the existing values.
thingGroupsToAdd
- The groups to which the thing will be added.public UpdateThingGroupsForThingRequest withThingGroupsToAdd(Collection<String> thingGroupsToAdd)
The groups to which the thing will be added.
thingGroupsToAdd
- The groups to which the thing will be added.public List<String> getThingGroupsToRemove()
The groups from which the thing will be removed.
public void setThingGroupsToRemove(Collection<String> thingGroupsToRemove)
The groups from which the thing will be removed.
thingGroupsToRemove
- The groups from which the thing will be removed.public UpdateThingGroupsForThingRequest withThingGroupsToRemove(String... thingGroupsToRemove)
The groups from which the thing will be removed.
NOTE: This method appends the values to the existing list (if any). Use
setThingGroupsToRemove(java.util.Collection)
or withThingGroupsToRemove(java.util.Collection)
if you want to override the existing values.
thingGroupsToRemove
- The groups from which the thing will be removed.public UpdateThingGroupsForThingRequest withThingGroupsToRemove(Collection<String> thingGroupsToRemove)
The groups from which the thing will be removed.
thingGroupsToRemove
- The groups from which the thing will be removed.public String toString()
toString
in class Object
Object.toString()
public UpdateThingGroupsForThingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.