public class CreateThingGroupRequest extends AmazonWebServiceRequest implements Serializable
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
| Constructor and Description |
|---|
CreateThingGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getParentGroupName()
The name of the parent thing group.
|
String |
getThingGroupName()
The thing group name to create.
|
ThingGroupProperties |
getThingGroupProperties()
The thing group properties.
|
int |
hashCode() |
void |
setParentGroupName(String parentGroupName)
The name of the parent thing group.
|
void |
setThingGroupName(String thingGroupName)
The thing group name to create.
|
void |
setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateThingGroupRequest |
withParentGroupName(String parentGroupName)
The name of the parent thing group.
|
CreateThingGroupRequest |
withThingGroupName(String thingGroupName)
The thing group name to create.
|
CreateThingGroupRequest |
withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getThingGroupName()
The thing group name to create.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The thing group name to create.
public void setThingGroupName(String thingGroupName)
The thing group name to create.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName - The thing group name to create.
public CreateThingGroupRequest withThingGroupName(String thingGroupName)
The thing group name to create.
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 thing group name to create.
public String getParentGroupName()
The name of the parent thing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the parent thing group.
public void setParentGroupName(String parentGroupName)
The name of the parent thing group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
parentGroupName - The name of the parent thing group.
public CreateThingGroupRequest withParentGroupName(String parentGroupName)
The name of the parent thing group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
parentGroupName - The name of the parent thing group.
public ThingGroupProperties getThingGroupProperties()
The thing group properties.
The thing group properties.
public void setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
thingGroupProperties - The thing group properties.
public CreateThingGroupRequest withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
Returns a reference to this object so that method calls can be chained together.
thingGroupProperties - The thing group properties.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.