public class RemoveThingFromThingGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Remove the specified thing from the specified group.
You must specify either a thingGroupArn
or a
thingGroupName
to identify the thing group and either a
thingArn
or a thingName
to identify the thing to
remove from the thing group.
Constructor and Description |
---|
RemoveThingFromThingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getThingArn()
The ARN of the thing to remove from the group.
|
java.lang.String |
getThingGroupArn()
The group ARN.
|
java.lang.String |
getThingGroupName()
The group name.
|
java.lang.String |
getThingName()
The name of the thing to remove from the group.
|
int |
hashCode() |
void |
setThingArn(java.lang.String thingArn)
The ARN of the thing to remove from the group.
|
void |
setThingGroupArn(java.lang.String thingGroupArn)
The group ARN.
|
void |
setThingGroupName(java.lang.String thingGroupName)
The group name.
|
void |
setThingName(java.lang.String thingName)
The name of the thing to remove from the group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveThingFromThingGroupRequest |
withThingArn(java.lang.String thingArn)
The ARN of the thing to remove from the group.
|
RemoveThingFromThingGroupRequest |
withThingGroupArn(java.lang.String thingGroupArn)
The group ARN.
|
RemoveThingFromThingGroupRequest |
withThingGroupName(java.lang.String thingGroupName)
The group name.
|
RemoveThingFromThingGroupRequest |
withThingName(java.lang.String thingName)
The name of the thing to remove from the group.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getThingGroupName()
The group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The group name.
public void setThingGroupName(java.lang.String thingGroupName)
The group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName
- The group name.
public RemoveThingFromThingGroupRequest withThingGroupName(java.lang.String thingGroupName)
The group name.
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 group name.
public java.lang.String getThingGroupArn()
The group ARN.
The group ARN.
public void setThingGroupArn(java.lang.String thingGroupArn)
The group ARN.
thingGroupArn
- The group ARN.
public RemoveThingFromThingGroupRequest withThingGroupArn(java.lang.String thingGroupArn)
The group ARN.
Returns a reference to this object so that method calls can be chained together.
thingGroupArn
- The group ARN.
public java.lang.String getThingName()
The name of the thing to remove from the group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing to remove from the group.
public void setThingName(java.lang.String thingName)
The name of the thing to remove from the group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName
- The name of the thing to remove from the group.
public RemoveThingFromThingGroupRequest withThingName(java.lang.String thingName)
The name of the thing to remove from the 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 remove from the group.
public java.lang.String getThingArn()
The ARN of the thing to remove from the group.
The ARN of the thing to remove from the group.
public void setThingArn(java.lang.String thingArn)
The ARN of the thing to remove from the group.
thingArn
- The ARN of the thing to remove from the group.
public RemoveThingFromThingGroupRequest withThingArn(java.lang.String thingArn)
The ARN of the thing to remove from the group.
Returns a reference to this object so that method calls can be chained together.
thingArn
- The ARN of the thing to remove from the group.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.