public class ThingGroupDocument
extends java.lang.Object
implements java.io.Serializable
The thing group search index document.
| Constructor and Description | 
|---|
ThingGroupDocument()  | 
| Modifier and Type | Method and Description | 
|---|---|
ThingGroupDocument | 
addattributesEntry(java.lang.String key,
                  java.lang.String value)
 The thing group attributes. 
 | 
ThingGroupDocument | 
clearattributesEntries()
Removes all the entries added into attributes. 
 | 
boolean | 
equals(java.lang.Object obj)  | 
java.util.Map<java.lang.String,java.lang.String> | 
getAttributes()
 The thing group attributes. 
 | 
java.util.List<java.lang.String> | 
getParentGroupNames()
 Parent group names. 
 | 
java.lang.String | 
getThingGroupDescription()
 The thing group description. 
 | 
java.lang.String | 
getThingGroupId()
 The thing group ID. 
 | 
java.lang.String | 
getThingGroupName()
 The thing group name. 
 | 
int | 
hashCode()  | 
void | 
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
 The thing group attributes. 
 | 
void | 
setParentGroupNames(java.util.Collection<java.lang.String> parentGroupNames)
 Parent group names. 
 | 
void | 
setThingGroupDescription(java.lang.String thingGroupDescription)
 The thing group description. 
 | 
void | 
setThingGroupId(java.lang.String thingGroupId)
 The thing group ID. 
 | 
void | 
setThingGroupName(java.lang.String thingGroupName)
 The thing group name. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
ThingGroupDocument | 
withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
 The thing group attributes. 
 | 
ThingGroupDocument | 
withParentGroupNames(java.util.Collection<java.lang.String> parentGroupNames)
 Parent group names. 
 | 
ThingGroupDocument | 
withParentGroupNames(java.lang.String... parentGroupNames)
 Parent group names. 
 | 
ThingGroupDocument | 
withThingGroupDescription(java.lang.String thingGroupDescription)
 The thing group description. 
 | 
ThingGroupDocument | 
withThingGroupId(java.lang.String thingGroupId)
 The thing group ID. 
 | 
ThingGroupDocument | 
withThingGroupName(java.lang.String thingGroupName)
 The thing group name. 
 | 
public java.lang.String getThingGroupName()
The thing group name.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
The thing group name.
public void setThingGroupName(java.lang.String thingGroupName)
The thing group name.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
thingGroupName - The thing group name.
public ThingGroupDocument withThingGroupName(java.lang.String thingGroupName)
The thing 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 thing group name.
public java.lang.String getThingGroupId()
The thing group ID.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9\-]+
The thing group ID.
public void setThingGroupId(java.lang.String thingGroupId)
The thing group ID.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9\-]+
thingGroupId - The thing group ID.
public ThingGroupDocument withThingGroupId(java.lang.String thingGroupId)
The thing group ID.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9\-]+
thingGroupId - The thing group ID.
public java.lang.String getThingGroupDescription()
The thing group description.
 Constraints:
 Length:  - 2028
 Pattern: [\p{Graph}\x20]*
The thing group description.
public void setThingGroupDescription(java.lang.String thingGroupDescription)
The thing group description.
 Constraints:
 Length:  - 2028
 Pattern: [\p{Graph}\x20]*
thingGroupDescription - The thing group description.
public ThingGroupDocument withThingGroupDescription(java.lang.String thingGroupDescription)
The thing group description.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length:  - 2028
 Pattern: [\p{Graph}\x20]*
thingGroupDescription - The thing group description.
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
The thing group attributes.
The thing group attributes.
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The thing group attributes.
attributes - The thing group attributes.
public ThingGroupDocument withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
The thing group attributes.
Returns a reference to this object so that method calls can be chained together.
attributes - The thing group attributes.
public ThingGroupDocument addattributesEntry(java.lang.String key, java.lang.String value)
The thing group attributes.
The method adds a new key-value pair into attributes parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into attributes.value - The corresponding value of the entry to be added into
            attributes.public ThingGroupDocument clearattributesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.String> getParentGroupNames()
Parent group names.
Parent group names.
public void setParentGroupNames(java.util.Collection<java.lang.String> parentGroupNames)
Parent group names.
parentGroupNames - Parent group names.
public ThingGroupDocument withParentGroupNames(java.lang.String... parentGroupNames)
Parent group names.
Returns a reference to this object so that method calls can be chained together.
parentGroupNames - Parent group names.
public ThingGroupDocument withParentGroupNames(java.util.Collection<java.lang.String> parentGroupNames)
Parent group names.
Returns a reference to this object so that method calls can be chained together.
parentGroupNames - Parent group names.
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.