public class UpdateThingGroupsForThingRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates the groups to which the thing belongs.
| Constructor and Description | 
|---|
| UpdateThingGroupsForThingRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.Boolean | getOverrideDynamicGroups()
 Override dynamic thing groups with static thing groups when 10-group
 limit is reached. | 
| java.util.List<java.lang.String> | getThingGroupsToAdd()
 The groups to which the thing will be added. | 
| java.util.List<java.lang.String> | getThingGroupsToRemove()
 The groups from which the thing will be removed. | 
| java.lang.String | getThingName()
 The thing whose group memberships will be updated. | 
| int | hashCode() | 
| java.lang.Boolean | isOverrideDynamicGroups()
 Override dynamic thing groups with static thing groups when 10-group
 limit is reached. | 
| void | setOverrideDynamicGroups(java.lang.Boolean overrideDynamicGroups)
 Override dynamic thing groups with static thing groups when 10-group
 limit is reached. | 
| void | setThingGroupsToAdd(java.util.Collection<java.lang.String> thingGroupsToAdd)
 The groups to which the thing will be added. | 
| void | setThingGroupsToRemove(java.util.Collection<java.lang.String> thingGroupsToRemove)
 The groups from which the thing will be removed. | 
| void | setThingName(java.lang.String thingName)
 The thing whose group memberships will be updated. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| UpdateThingGroupsForThingRequest | withOverrideDynamicGroups(java.lang.Boolean overrideDynamicGroups)
 Override dynamic thing groups with static thing groups when 10-group
 limit is reached. | 
| UpdateThingGroupsForThingRequest | withThingGroupsToAdd(java.util.Collection<java.lang.String> thingGroupsToAdd)
 The groups to which the thing will be added. | 
| UpdateThingGroupsForThingRequest | withThingGroupsToAdd(java.lang.String... thingGroupsToAdd)
 The groups to which the thing will be added. | 
| UpdateThingGroupsForThingRequest | withThingGroupsToRemove(java.util.Collection<java.lang.String> thingGroupsToRemove)
 The groups from which the thing will be removed. | 
| UpdateThingGroupsForThingRequest | withThingGroupsToRemove(java.lang.String... thingGroupsToRemove)
 The groups from which the thing will be removed. | 
| UpdateThingGroupsForThingRequest | withThingName(java.lang.String thingName)
 The thing whose group memberships will be updated. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getThingName()
The thing whose group memberships will be updated.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
The thing whose group memberships will be updated.
public void setThingName(java.lang.String thingName)
The thing whose group memberships will be updated.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
thingName - The thing whose group memberships will be updated.
public UpdateThingGroupsForThingRequest withThingName(java.lang.String thingName)
The thing whose group memberships will be updated.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
thingName - The thing whose group memberships will be updated.
public java.util.List<java.lang.String> getThingGroupsToAdd()
The groups to which the thing will be added.
The groups to which the thing will be added.
public void setThingGroupsToAdd(java.util.Collection<java.lang.String> thingGroupsToAdd)
The groups to which the thing will be added.
thingGroupsToAdd - The groups to which the thing will be added.
public UpdateThingGroupsForThingRequest withThingGroupsToAdd(java.lang.String... thingGroupsToAdd)
The groups to which the thing will be added.
Returns a reference to this object so that method calls can be chained together.
thingGroupsToAdd - The groups to which the thing will be added.
public UpdateThingGroupsForThingRequest withThingGroupsToAdd(java.util.Collection<java.lang.String> thingGroupsToAdd)
The groups to which the thing will be added.
Returns a reference to this object so that method calls can be chained together.
thingGroupsToAdd - The groups to which the thing will be added.
public java.util.List<java.lang.String> getThingGroupsToRemove()
The groups from which the thing will be removed.
The groups from which the thing will be removed.
public void setThingGroupsToRemove(java.util.Collection<java.lang.String> thingGroupsToRemove)
The groups from which the thing will be removed.
thingGroupsToRemove - The groups from which the thing will be removed.
public UpdateThingGroupsForThingRequest withThingGroupsToRemove(java.lang.String... thingGroupsToRemove)
The groups from which the thing will be removed.
Returns a reference to this object so that method calls can be chained together.
thingGroupsToRemove - The groups from which the thing will be removed.
public UpdateThingGroupsForThingRequest withThingGroupsToRemove(java.util.Collection<java.lang.String> thingGroupsToRemove)
The groups from which the thing will be removed.
Returns a reference to this object so that method calls can be chained together.
thingGroupsToRemove - The groups from which the thing will be removed.
public java.lang.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.
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 java.lang.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.
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 void setOverrideDynamicGroups(java.lang.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 UpdateThingGroupsForThingRequest withOverrideDynamicGroups(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.