@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) |
Boolean |
getOverrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group limit is reached.
|
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() |
Boolean |
isOverrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group limit is reached.
|
void |
setOverrideDynamicGroups(Boolean overrideDynamicGroups)
Override dynamic thing groups with static thing groups when 10-group limit is reached.
|
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.
|
UpdateThingGroupsForThingRequest |
withOverrideDynamicGroups(Boolean overrideDynamicGroups)
Override dynamic thing groups with static thing groups when 10-group limit is reached.
|
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 void setOverrideDynamicGroups(Boolean overrideDynamicGroups)
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
overrideDynamicGroups
- Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs
to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static
group removes the thing from the last dynamic group.public Boolean getOverrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
public UpdateThingGroupsForThingRequest withOverrideDynamicGroups(Boolean overrideDynamicGroups)
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
overrideDynamicGroups
- Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs
to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static
group removes the thing from the last dynamic group.public Boolean isOverrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
public String toString()
toString
in class Object
Object.toString()
public UpdateThingGroupsForThingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()