Class Topic.Level
java.lang.Object
software.amazon.smithy.mqtt.traits.Topic.Level
- Enclosing class:
- Topic
Represents a level in a topic.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Level
- Parameters:
value
- The value of the topic.isLabel
- True if the value is a label.
-
Level
- Parameters:
value
- The value of the topic.
-
-
Method Details
-
getContent
Gets the content of the topic.Label levels do not contain the wrapping "{" and "}" characters.
- Returns:
- Returns the level value text.
-
isLabel
public boolean isLabel()Check if the level is a label.- Returns:
- Returns true if the level is a label.
-
toString
-
equals
-
hashCode
public int hashCode()
-