public class CreateDynamicThingGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a dynamic thing group.
Constructor and Description |
---|
CreateDynamicThingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIndexName()
The dynamic thing group index name.
|
java.lang.String |
getQueryString()
The dynamic thing group search query string.
|
java.lang.String |
getQueryVersion()
The dynamic thing group query version.
|
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the dynamic thing group.
|
java.lang.String |
getThingGroupName()
The dynamic thing group name to create.
|
ThingGroupProperties |
getThingGroupProperties()
The dynamic thing group properties.
|
int |
hashCode() |
void |
setIndexName(java.lang.String indexName)
The dynamic thing group index name.
|
void |
setQueryString(java.lang.String queryString)
The dynamic thing group search query string.
|
void |
setQueryVersion(java.lang.String queryVersion)
The dynamic thing group query version.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the dynamic thing group.
|
void |
setThingGroupName(java.lang.String thingGroupName)
The dynamic thing group name to create.
|
void |
setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The dynamic thing group properties.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDynamicThingGroupRequest |
withIndexName(java.lang.String indexName)
The dynamic thing group index name.
|
CreateDynamicThingGroupRequest |
withQueryString(java.lang.String queryString)
The dynamic thing group search query string.
|
CreateDynamicThingGroupRequest |
withQueryVersion(java.lang.String queryVersion)
The dynamic thing group query version.
|
CreateDynamicThingGroupRequest |
withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the dynamic thing group.
|
CreateDynamicThingGroupRequest |
withTags(Tag... tags)
Metadata which can be used to manage the dynamic thing group.
|
CreateDynamicThingGroupRequest |
withThingGroupName(java.lang.String thingGroupName)
The dynamic thing group name to create.
|
CreateDynamicThingGroupRequest |
withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The dynamic thing group properties.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getThingGroupName()
The dynamic thing group name to create.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The dynamic thing group name to create.
public void setThingGroupName(java.lang.String thingGroupName)
The dynamic thing group name to create.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingGroupName
- The dynamic thing group name to create.
public CreateDynamicThingGroupRequest withThingGroupName(java.lang.String thingGroupName)
The dynamic 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 dynamic thing group name to create.
public ThingGroupProperties getThingGroupProperties()
The dynamic thing group properties.
The dynamic thing group properties.
public void setThingGroupProperties(ThingGroupProperties thingGroupProperties)
The dynamic thing group properties.
thingGroupProperties
- The dynamic thing group properties.
public CreateDynamicThingGroupRequest withThingGroupProperties(ThingGroupProperties thingGroupProperties)
The dynamic thing group properties.
Returns a reference to this object so that method calls can be chained together.
thingGroupProperties
- The dynamic thing group properties.
public java.lang.String getIndexName()
The dynamic thing group index name.
Currently one index is supported: "AWS_Things".
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The dynamic thing group index name.
Currently one index is supported: "AWS_Things".
public void setIndexName(java.lang.String indexName)
The dynamic thing group index name.
Currently one index is supported: "AWS_Things".
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName
- The dynamic thing group index name.
Currently one index is supported: "AWS_Things".
public CreateDynamicThingGroupRequest withIndexName(java.lang.String indexName)
The dynamic thing group index name.
Currently one index is supported: "AWS_Things".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName
- The dynamic thing group index name.
Currently one index is supported: "AWS_Things".
public java.lang.String getQueryString()
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
Constraints:
Length: 1 -
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
public void setQueryString(java.lang.String queryString)
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
Constraints:
Length: 1 -
queryString
- The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
public CreateDynamicThingGroupRequest withQueryString(java.lang.String queryString)
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
queryString
- The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
public java.lang.String getQueryVersion()
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
public void setQueryVersion(java.lang.String queryVersion)
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
queryVersion
- The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
public CreateDynamicThingGroupRequest withQueryVersion(java.lang.String queryVersion)
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
Returns a reference to this object so that method calls can be chained together.
queryVersion
- The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
public java.util.List<Tag> getTags()
Metadata which can be used to manage the dynamic thing group.
Metadata which can be used to manage the dynamic thing group.
public void setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the dynamic thing group.
tags
- Metadata which can be used to manage the dynamic thing group.
public CreateDynamicThingGroupRequest withTags(Tag... tags)
Metadata which can be used to manage the dynamic 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 dynamic thing group.
public CreateDynamicThingGroupRequest withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the dynamic 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 dynamic 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.