public class CreateThingGroupRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getParentGroupName()
The name of the parent thing group.
|
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the thing group.
|
java.lang.String |
getThingGroupName()
The thing group name to create.
|
ThingGroupProperties |
getThingGroupProperties()
The thing group properties.
|
int |
hashCode() |
void |
setParentGroupName(java.lang.String parentGroupName)
The name of the parent thing group.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing group.
|
void |
setThingGroupName(java.lang.String thingGroupName)
The thing group name to create.
|
void |
setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateThingGroupRequest |
withParentGroupName(java.lang.String parentGroupName)
The name of the parent thing group.
|
CreateThingGroupRequest |
withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing group.
|
CreateThingGroupRequest |
withTags(Tag... tags)
Metadata which can be used to manage the thing group.
|
CreateThingGroupRequest |
withThingGroupName(java.lang.String thingGroupName)
The thing group name to create.
|
CreateThingGroupRequest |
withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The thing group properties.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.List<Tag> getTags()
Metadata which can be used to manage the thing group.
Metadata which can be used to manage the thing group.
public void setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing group.
tags
- Metadata which can be used to manage the thing group.
public CreateThingGroupRequest withTags(Tag... tags)
Metadata which can be used to manage the thing group.
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the thing group.
public CreateThingGroupRequest withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the thing group.
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the thing 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.