public class AddThingToThingGroupRequest extends AmazonWebServiceRequest implements Serializable
Adds a thing to a thing group.
| Constructor and Description |
|---|
AddThingToThingGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getOverrideDynamicGroups()
Override dynamic thing groups with static thing groups when 10-group
limit is reached.
|
String |
getThingArn()
The ARN of the thing to add to a group.
|
String |
getThingGroupArn()
The ARN of the group to which you are adding a thing.
|
String |
getThingGroupName()
The name of the group to which you are adding a thing.
|
String |
getThingName()
The name of the thing to add to a group.
|
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 |
setThingArn(String thingArn)
The ARN of the thing to add to a group.
|
void |
setThingGroupArn(String thingGroupArn)
The ARN of the group to which you are adding a thing.
|
void |
setThingGroupName(String thingGroupName)
The name of the group to which you are adding a thing.
|
void |
setThingName(String thingName)
The name of the thing to add to a group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddThingToThingGroupRequest |
withOverrideDynamicGroups(Boolean overrideDynamicGroups)
Override dynamic thing groups with static thing groups when 10-group
limit is reached.
|
AddThingToThingGroupRequest |
withThingArn(String thingArn)
The ARN of the thing to add to a group.
|
AddThingToThingGroupRequest |
withThingGroupArn(String thingGroupArn)
The ARN of the group to which you are adding a thing.
|
AddThingToThingGroupRequest |
withThingGroupName(String thingGroupName)
The name of the group to which you are adding a thing.
|
AddThingToThingGroupRequest |
withThingName(String thingName)
The name of the thing to add to a group.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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(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(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 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(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(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 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(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(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 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(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(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 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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.