Package software.amazon.awssdk.crt.iot
Class ResponsePath.ResponsePathBuilder
- java.lang.Object
-
- software.amazon.awssdk.crt.iot.ResponsePath.ResponsePathBuilder
-
- Enclosing class:
- ResponsePath
public static class ResponsePath.ResponsePathBuilder extends Object
Builder type for ResponsePath instances
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsePath
build()
Creates a new ResponsePath instance based on the builder's configuration.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.ResponsePath.ResponsePathBuilder
withResponseTopic(String responseTopic)
Fluent setter for the MQTT topic associated with this response path.
-
-
-
Method Detail
-
withResponseTopic
public ResponsePath.ResponsePathBuilder withResponseTopic(String responseTopic)
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
public ResponsePath build()
Creates a new ResponsePath instance based on the builder's configuration.- Returns:
- a new ResponsePath instance based on the builder's configuration
-
-