public class ThingTypeProperties
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.util.List<java.lang.String> |
getSearchableAttributes()
A list of searchable thing attribute names.
|
java.lang.String |
getThingTypeDescription()
The description of the thing type.
|
int |
hashCode() |
void |
setSearchableAttributes(java.util.Collection<java.lang.String> searchableAttributes)
A list of searchable thing attribute names.
|
void |
setThingTypeDescription(java.lang.String thingTypeDescription)
The description of the thing type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingTypeProperties |
withSearchableAttributes(java.util.Collection<java.lang.String> searchableAttributes)
A list of searchable thing attribute names.
|
ThingTypeProperties |
withSearchableAttributes(java.lang.String... searchableAttributes)
A list of searchable thing attribute names.
|
ThingTypeProperties |
withThingTypeDescription(java.lang.String thingTypeDescription)
The description of the thing type.
|
public java.lang.String getThingTypeDescription()
The description of the thing type.
Constraints:
Length: - 2028
Pattern: [\p{Graph}\x20]*
The description of the thing type.
public void setThingTypeDescription(java.lang.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(java.lang.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 java.util.List<java.lang.String> getSearchableAttributes()
A list of searchable thing attribute names.
A list of searchable thing attribute names.
public void setSearchableAttributes(java.util.Collection<java.lang.String> searchableAttributes)
A list of searchable thing attribute names.
searchableAttributes
- A list of searchable thing attribute names.
public ThingTypeProperties withSearchableAttributes(java.lang.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(java.util.Collection<java.lang.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 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.