Index
All Classes and Interfaces|All Packages|Serialized Form
C
- conflictsWith(Topic) - Method in class software.amazon.smithy.mqtt.traits.Topic
-
Determines if this topic conflicts with another topic.
- conflictsWith(TopicBinding<?>) - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Returns true if the topic binding conflicts with another.
E
- equals(Object) - Method in class software.amazon.smithy.mqtt.traits.Topic
- equals(Object) - Method in class software.amazon.smithy.mqtt.traits.Topic.Level
- equals(Object) - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
G
- getContent() - Method in class software.amazon.smithy.mqtt.traits.Topic.Level
-
Gets the content of the topic.
- getInput() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Deprecated.Use getInputShape instead.
- getInputShape() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Gets the input shape related to this operation.
- getLabels() - Method in class software.amazon.smithy.mqtt.traits.Topic
-
Gets all of the label levels in the topic.
- getLevels() - Method in class software.amazon.smithy.mqtt.traits.Topic
-
Gets all of the hierarchical levels of the topic.
- getMqttTrait() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Gets the trait that formed the binding of the operation to MQTT for this topic.
- getOperation() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Gets the operation shape related to the topic bindings.
- getOperationBindings(ToShapeId) - Method in class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
-
Get all of the MQTT topic bindings of a specific operation.
- getOperationMqttTrait(Shape) - Static method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Finds the MQTT binding trait associated with an operation.
- getPayloadShape() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Gets the payload shape of the topic.
- getPublishBinding(ToShapeId) - Method in class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
-
Gets the MQTT publish binding of an operation.
- getSubcribeEventStreamInfo(ToShapeId) - Method in class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
-
Get subscribe event stream info.
- getSubscribeBinding(ToShapeId) - Method in class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
-
Gets the MQTT subscribe binding of an operation.
- getTopic() - Method in class software.amazon.smithy.mqtt.traits.PublishTrait
-
Gets the parsed topic of the trait.
- getTopic() - Method in class software.amazon.smithy.mqtt.traits.SubscribeTrait
-
Gets the parsed topic of the trait.
- getTopic() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
-
Gets the resolved topic of the binding.
H
- hashCode() - Method in class software.amazon.smithy.mqtt.traits.Topic
- hashCode() - Method in class software.amazon.smithy.mqtt.traits.Topic.Level
- hashCode() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
- hasLabel(String) - Method in class software.amazon.smithy.mqtt.traits.Topic
-
Returns true if the topic contains the given label string.
I
- ID - Static variable in class software.amazon.smithy.mqtt.traits.MqttJsonTrait
- ID - Static variable in class software.amazon.smithy.mqtt.traits.PublishTrait
- ID - Static variable in class software.amazon.smithy.mqtt.traits.SubscribeTrait
- ID - Static variable in class software.amazon.smithy.mqtt.traits.TopicLabelTrait
- isLabel() - Method in class software.amazon.smithy.mqtt.traits.Topic.Level
-
Check if the level is a label.
L
- Level(String) - Constructor for class software.amazon.smithy.mqtt.traits.Topic.Level
- Level(String, boolean) - Constructor for class software.amazon.smithy.mqtt.traits.Topic.Level
M
- MqttJsonTrait - Class in software.amazon.smithy.mqtt.traits
- MqttJsonTrait() - Constructor for class software.amazon.smithy.mqtt.traits.MqttJsonTrait
- MqttJsonTrait(ObjectNode) - Constructor for class software.amazon.smithy.mqtt.traits.MqttJsonTrait
- MqttJsonTrait.Provider - Class in software.amazon.smithy.mqtt.traits
- MqttPublishInputValidator - Class in software.amazon.smithy.mqtt.traits.validators
-
Publish operations must not contain event streams.
- MqttPublishInputValidator() - Constructor for class software.amazon.smithy.mqtt.traits.validators.MqttPublishInputValidator
- MqttSubscribeInputValidator - Class in software.amazon.smithy.mqtt.traits.validators
-
Validates
@smithy.mqtt#subscribeoperation input. - MqttSubscribeInputValidator() - Constructor for class software.amazon.smithy.mqtt.traits.validators.MqttSubscribeInputValidator
- MqttSubscribeOutputValidator - Class in software.amazon.smithy.mqtt.traits.validators
-
Validates
subscribeoperation output. - MqttSubscribeOutputValidator() - Constructor for class software.amazon.smithy.mqtt.traits.validators.MqttSubscribeOutputValidator
- MqttTopicConflictValidator - Class in software.amazon.smithy.mqtt.traits.validators
-
Validates that no two MQTT topics conflict.
- MqttTopicConflictValidator() - Constructor for class software.amazon.smithy.mqtt.traits.validators.MqttTopicConflictValidator
- MqttTopicLabelValidator - Class in software.amazon.smithy.mqtt.traits.validators
-
Validates that labels are correct for MQTT topics on
subscribeandpublishoperations. - MqttTopicLabelValidator() - Constructor for class software.amazon.smithy.mqtt.traits.validators.MqttTopicLabelValidator
- MqttUnsupportedErrorsValidator - Class in software.amazon.smithy.mqtt.traits.validators
-
Validates that
@smithy.mqtt#publishandsubscribeoperations should not define errors. - MqttUnsupportedErrorsValidator() - Constructor for class software.amazon.smithy.mqtt.traits.validators.MqttUnsupportedErrorsValidator
O
- of(Model) - Static method in class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
P
- parse(String) - Static method in class software.amazon.smithy.mqtt.traits.Topic
-
Parses an MQTT topic and labels.
- Provider() - Constructor for class software.amazon.smithy.mqtt.traits.MqttJsonTrait.Provider
- Provider() - Constructor for class software.amazon.smithy.mqtt.traits.PublishTrait.Provider
- Provider() - Constructor for class software.amazon.smithy.mqtt.traits.SubscribeTrait.Provider
- Provider() - Constructor for class software.amazon.smithy.mqtt.traits.TopicLabelTrait.Provider
- PublishTrait - Class in software.amazon.smithy.mqtt.traits
-
smithy.mqtt#publishtrait. - PublishTrait(String) - Constructor for class software.amazon.smithy.mqtt.traits.PublishTrait
- PublishTrait(String, SourceLocation) - Constructor for class software.amazon.smithy.mqtt.traits.PublishTrait
- PublishTrait.Provider - Class in software.amazon.smithy.mqtt.traits
R
- ResolvedTopicIndex - Class in software.amazon.smithy.mqtt.traits
-
Computes all of the MQTT
TopicBindings in a model. - ResolvedTopicIndex(Model) - Constructor for class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
S
- software.amazon.smithy.mqtt.traits - package software.amazon.smithy.mqtt.traits
-
Defines MQTT bindings for Smithy.
- software.amazon.smithy.mqtt.traits.validators - package software.amazon.smithy.mqtt.traits.validators
- SubscribeTrait - Class in software.amazon.smithy.mqtt.traits
-
smithy.mqtt#subscribe trait.
- SubscribeTrait(String) - Constructor for class software.amazon.smithy.mqtt.traits.SubscribeTrait
- SubscribeTrait(String, SourceLocation) - Constructor for class software.amazon.smithy.mqtt.traits.SubscribeTrait
- SubscribeTrait.Provider - Class in software.amazon.smithy.mqtt.traits
T
- Topic - Class in software.amazon.smithy.mqtt.traits
-
Represents a parsed MQTT topic.
- Topic.Level - Class in software.amazon.smithy.mqtt.traits
-
Represents a level in a topic.
- TopicBinding<T extends software.amazon.smithy.model.traits.Trait> - Class in software.amazon.smithy.mqtt.traits
-
Contains computed information about the resolved MQTT topic bindings of an operation.
- topicBindings() - Method in class software.amazon.smithy.mqtt.traits.ResolvedTopicIndex
-
Gets all resolved MQTT topic bindings in the model.
- TopicLabelTrait - Class in software.amazon.smithy.mqtt.traits
-
Binds a member to an MQTT label using the member name.
- TopicLabelTrait() - Constructor for class software.amazon.smithy.mqtt.traits.TopicLabelTrait
- TopicLabelTrait(ObjectNode) - Constructor for class software.amazon.smithy.mqtt.traits.TopicLabelTrait
- TopicLabelTrait.Provider - Class in software.amazon.smithy.mqtt.traits
- TopicSyntaxException - Exception in software.amazon.smithy.mqtt.traits
-
Thrown when an MQTT topic is malformed.
- TopicSyntaxException(String) - Constructor for exception software.amazon.smithy.mqtt.traits.TopicSyntaxException
- toString() - Method in class software.amazon.smithy.mqtt.traits.Topic.Level
- toString() - Method in class software.amazon.smithy.mqtt.traits.Topic
- toString() - Method in class software.amazon.smithy.mqtt.traits.TopicBinding
V
- validate(Model) - Method in class software.amazon.smithy.mqtt.traits.validators.MqttPublishInputValidator
- validate(Model) - Method in class software.amazon.smithy.mqtt.traits.validators.MqttSubscribeInputValidator
- validate(Model) - Method in class software.amazon.smithy.mqtt.traits.validators.MqttSubscribeOutputValidator
- validate(Model) - Method in class software.amazon.smithy.mqtt.traits.validators.MqttTopicConflictValidator
- validate(Model) - Method in class software.amazon.smithy.mqtt.traits.validators.MqttTopicLabelValidator
- validate(Model) - Method in class software.amazon.smithy.mqtt.traits.validators.MqttUnsupportedErrorsValidator
All Classes and Interfaces|All Packages|Serialized Form