public class AddThingToThingGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Adds a thing to a thing group.
| Constructor and Description | 
|---|
| AddThingToThingGroupRequest() | 
| 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.lang.String | getThingArn()
 The ARN of the thing to add to a group. | 
| java.lang.String | getThingGroupArn()
 The ARN of the group to which you are adding a thing. | 
| java.lang.String | getThingGroupName()
 The name of the group to which you are adding a thing. | 
| java.lang.String | getThingName()
 The name of the thing to add to a group. | 
| 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 | setThingArn(java.lang.String thingArn)
 The ARN of the thing to add to a group. | 
| void | setThingGroupArn(java.lang.String thingGroupArn)
 The ARN of the group to which you are adding a thing. | 
| void | setThingGroupName(java.lang.String thingGroupName)
 The name of the group to which you are adding a thing. | 
| void | setThingName(java.lang.String thingName)
 The name of the thing to add to a group. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| AddThingToThingGroupRequest | withOverrideDynamicGroups(java.lang.Boolean overrideDynamicGroups)
 Override dynamic thing groups with static thing groups when 10-group
 limit is reached. | 
| AddThingToThingGroupRequest | withThingArn(java.lang.String thingArn)
 The ARN of the thing to add to a group. | 
| AddThingToThingGroupRequest | withThingGroupArn(java.lang.String thingGroupArn)
 The ARN of the group to which you are adding a thing. | 
| AddThingToThingGroupRequest | withThingGroupName(java.lang.String thingGroupName)
 The name of the group to which you are adding a thing. | 
| AddThingToThingGroupRequest | withThingName(java.lang.String thingName)
 The name of the thing to add to a group. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getThingGroupName()
The name of the group to which you are adding a thing.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
The name of the group to which you are adding a thing.
public void setThingGroupName(java.lang.String thingGroupName)
The name of the group to which you are adding a thing.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
thingGroupName - The name of the group to which you are adding a thing.
public AddThingToThingGroupRequest withThingGroupName(java.lang.String thingGroupName)
The name of the group to which you are adding a thing.
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 name of the group to which you are adding a thing.
public java.lang.String getThingGroupArn()
The ARN of the group to which you are adding a thing.
The ARN of the group to which you are adding a thing.
public void setThingGroupArn(java.lang.String thingGroupArn)
The ARN of the group to which you are adding a thing.
thingGroupArn - The ARN of the group to which you are adding a thing.
public AddThingToThingGroupRequest withThingGroupArn(java.lang.String thingGroupArn)
The ARN of the group to which you are adding a thing.
Returns a reference to this object so that method calls can be chained together.
thingGroupArn - The ARN of the group to which you are adding a thing.
public java.lang.String getThingName()
The name of the thing to add to a group.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
The name of the thing to add to a group.
public void setThingName(java.lang.String thingName)
The name of the thing to add to a group.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
thingName - The name of the thing to add to a group.
public AddThingToThingGroupRequest withThingName(java.lang.String thingName)
The name of the thing to add to a group.
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 name of the thing to add to a group.
public java.lang.String getThingArn()
The ARN of the thing to add to a group.
The ARN of the thing to add to a group.
public void setThingArn(java.lang.String thingArn)
The ARN of the thing to add to a group.
thingArn - The ARN of the thing to add to a group.
public AddThingToThingGroupRequest withThingArn(java.lang.String thingArn)
The ARN of the thing to add to a group.
Returns a reference to this object so that method calls can be chained together.
thingArn - The ARN of the thing to add to a group.
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 AddThingToThingGroupRequest 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.