Package software.amazon.awssdk.crt.iot
Class ResponsePath.ResponsePathBuilder
java.lang.Object
software.amazon.awssdk.crt.iot.ResponsePath.ResponsePathBuilder
- Enclosing class:
- ResponsePath
Builder type for ResponsePath instances
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new ResponsePath instance based on the builder's configuration.withCorrelationTokenJsonPath(String correlationTokenJsonPath) Fluent setter for the JSON path for finding correlation tokens within payloads that arrive on this response path's topic.withResponseTopic(String responseTopic) Fluent setter for the MQTT topic associated with this response path.
-
Method Details
-
withResponseTopic
Fluent setter for the MQTT topic associated with this response path.- Parameters:
responseTopic- MQTT topic associated with this response path- Returns:
- the builder object
-
withCorrelationTokenJsonPath
public ResponsePath.ResponsePathBuilder withCorrelationTokenJsonPath(String correlationTokenJsonPath) Fluent setter for the JSON path for finding correlation tokens within payloads that arrive on this response path's topic.- Parameters:
correlationTokenJsonPath- JSON path for finding correlation tokens within payloads that arrive on this response path's topic- Returns:
- the builder object
-
build
Creates a new ResponsePath instance based on the builder's configuration.- Returns:
- a new ResponsePath instance based on the builder's configuration
-