public class ThingTypeProperties extends Object implements Serializable
The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
| Constructor and Description |
|---|
ThingTypeProperties() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getSearchableAttributes()
A list of searchable thing attribute names.
|
String |
getThingTypeDescription()
The description of the thing type.
|
int |
hashCode() |
void |
setSearchableAttributes(Collection<String> searchableAttributes)
A list of searchable thing attribute names.
|
void |
setThingTypeDescription(String thingTypeDescription)
The description of the thing type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingTypeProperties |
withSearchableAttributes(Collection<String> searchableAttributes)
A list of searchable thing attribute names.
|
ThingTypeProperties |
withSearchableAttributes(String... searchableAttributes)
A list of searchable thing attribute names.
|
ThingTypeProperties |
withThingTypeDescription(String thingTypeDescription)
The description of the thing type.
|
public String getThingTypeDescription()
The description of the thing type.
Constraints:
Length: - 2028
Pattern: [\p{Graph}\x20]*
The description of the thing type.
public void setThingTypeDescription(String thingTypeDescription)
The description of the thing type.
Constraints:
Length: - 2028
Pattern: [\p{Graph}\x20]*
thingTypeDescription - The description of the thing type.
public ThingTypeProperties withThingTypeDescription(String thingTypeDescription)
The description of the thing type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2028
Pattern: [\p{Graph}\x20]*
thingTypeDescription - The description of the thing type.
public List<String> getSearchableAttributes()
A list of searchable thing attribute names.
A list of searchable thing attribute names.
public void setSearchableAttributes(Collection<String> searchableAttributes)
A list of searchable thing attribute names.
searchableAttributes - A list of searchable thing attribute names.
public ThingTypeProperties withSearchableAttributes(String... searchableAttributes)
A list of searchable thing attribute names.
Returns a reference to this object so that method calls can be chained together.
searchableAttributes - A list of searchable thing attribute names.
public ThingTypeProperties withSearchableAttributes(Collection<String> searchableAttributes)
A list of searchable thing attribute names.
Returns a reference to this object so that method calls can be chained together.
searchableAttributes - A list of searchable thing attribute names.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.