Package dev.restate.admin.model
Class CreateSubscriptionRequest
java.lang.Object
dev.restate.admin.model.CreateSubscriptionRequest
CreateSubscriptionRequest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this CreateSubscriptionRequest object is equal to o.Additional options to apply to the subscription.getSink()
Sink uri.Source uri.int
hashCode()
putOptionsItem
(String key, String optionsItem) void
setOptions
(Map<String, String> options) void
void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SINK
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
-
Constructor Details
-
CreateSubscriptionRequest
public CreateSubscriptionRequest()
-
-
Method Details
-
source
-
getSource
Source uri. Accepted forms: * `kafka://<cluster_name>/<topic_name>`, e.g. `kafka://my-cluster/my-topic`- Returns:
- source
-
setSource
-
sink
-
getSink
Sink uri. Accepted forms: * `service://<service_name>/<service_name>`, e.g. `service://Counter/count`- Returns:
- sink
-
setSink
-
options
-
putOptionsItem
-
getOptions
Additional options to apply to the subscription.- Returns:
- options
-
setOptions
-
equals
Return true if this CreateSubscriptionRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-