@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThingGroupDocument extends Object implements Serializable, Cloneable, StructuredPojo
The thing group search index document.
Constructor and Description |
---|
ThingGroupDocument() |
Modifier and Type | Method and Description |
---|---|
ThingGroupDocument |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
ThingGroupDocument |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
ThingGroupDocument |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The thing group attributes.
|
List<String> |
getParentGroupNames()
Parent group names.
|
String |
getThingGroupDescription()
The thing group description.
|
String |
getThingGroupId()
The thing group ID.
|
String |
getThingGroupName()
The thing group name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
The thing group attributes.
|
void |
setParentGroupNames(Collection<String> parentGroupNames)
Parent group names.
|
void |
setThingGroupDescription(String thingGroupDescription)
The thing group description.
|
void |
setThingGroupId(String thingGroupId)
The thing group ID.
|
void |
setThingGroupName(String thingGroupName)
The thing group name.
|
String |
toString()
Returns a string representation of this object.
|
ThingGroupDocument |
withAttributes(Map<String,String> attributes)
The thing group attributes.
|
ThingGroupDocument |
withParentGroupNames(Collection<String> parentGroupNames)
Parent group names.
|
ThingGroupDocument |
withParentGroupNames(String... parentGroupNames)
Parent group names.
|
ThingGroupDocument |
withThingGroupDescription(String thingGroupDescription)
The thing group description.
|
ThingGroupDocument |
withThingGroupId(String thingGroupId)
The thing group ID.
|
ThingGroupDocument |
withThingGroupName(String thingGroupName)
The thing group name.
|
public void setThingGroupName(String thingGroupName)
The thing group name.
thingGroupName
- The thing group name.public String getThingGroupName()
The thing group name.
public ThingGroupDocument withThingGroupName(String thingGroupName)
The thing group name.
thingGroupName
- The thing group name.public void setThingGroupId(String thingGroupId)
The thing group ID.
thingGroupId
- The thing group ID.public String getThingGroupId()
The thing group ID.
public ThingGroupDocument withThingGroupId(String thingGroupId)
The thing group ID.
thingGroupId
- The thing group ID.public void setThingGroupDescription(String thingGroupDescription)
The thing group description.
thingGroupDescription
- The thing group description.public String getThingGroupDescription()
The thing group description.
public ThingGroupDocument withThingGroupDescription(String thingGroupDescription)
The thing group description.
thingGroupDescription
- The thing group description.public Map<String,String> getAttributes()
The thing group attributes.
public void setAttributes(Map<String,String> attributes)
The thing group attributes.
attributes
- The thing group attributes.public ThingGroupDocument withAttributes(Map<String,String> attributes)
The thing group attributes.
attributes
- The thing group attributes.public ThingGroupDocument addAttributesEntry(String key, String value)
public ThingGroupDocument clearAttributesEntries()
public List<String> getParentGroupNames()
Parent group names.
public void setParentGroupNames(Collection<String> parentGroupNames)
Parent group names.
parentGroupNames
- Parent group names.public ThingGroupDocument withParentGroupNames(String... parentGroupNames)
Parent group names.
NOTE: This method appends the values to the existing list (if any). Use
setParentGroupNames(java.util.Collection)
or withParentGroupNames(java.util.Collection)
if you
want to override the existing values.
parentGroupNames
- Parent group names.public ThingGroupDocument withParentGroupNames(Collection<String> parentGroupNames)
Parent group names.
parentGroupNames
- Parent group names.public String toString()
toString
in class Object
Object.toString()
public ThingGroupDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.