Package dev.restate.admin.model
Class RegisterDeploymentRequestAnyOf
java.lang.Object
dev.restate.admin.model.RegisterDeploymentRequestAnyOf
RegisterDeploymentRequestAnyOf
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalHeaders
(Map<String, String> additionalHeaders) boolean
Return true if this RegisterDeploymentRequest_anyOf object is equal to o.Additional headers added to the discover/invoke requests to the deployment.If `true`, discovery will run but the deployment will not be registered.getForce()
If `true`, it will override, if existing, any deployment using the same `uri`.getUri()
Uri to use to discover/invoke the http deployment.int
hashCode()
putAdditionalHeadersItem
(String key, String additionalHeadersItem) void
setAdditionalHeaders
(Map<String, String> additionalHeaders) void
void
void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_URI
- See Also:
-
JSON_PROPERTY_ADDITIONAL_HEADERS
- See Also:
-
JSON_PROPERTY_FORCE
- See Also:
-
JSON_PROPERTY_DRY_RUN
- See Also:
-
-
Constructor Details
-
RegisterDeploymentRequestAnyOf
public RegisterDeploymentRequestAnyOf()
-
-
Method Details
-
uri
-
getUri
Uri to use to discover/invoke the http deployment.- Returns:
- uri
-
setUri
-
additionalHeaders
-
putAdditionalHeadersItem
public RegisterDeploymentRequestAnyOf putAdditionalHeadersItem(String key, String additionalHeadersItem) -
getAdditionalHeaders
Additional headers added to the discover/invoke requests to the deployment.- Returns:
- additionalHeaders
-
setAdditionalHeaders
-
force
-
getForce
If `true`, it will override, if existing, any deployment using the same `uri`. Beware that this can lead in-flight invocations to an unrecoverable error state. By default, this is `true` but it might change in future to `false`. See the [versioning documentation](https://docs.restate.dev/operate/versioning) for more information.- Returns:
- force
-
setForce
-
dryRun
-
getDryRun
If `true`, discovery will run but the deployment will not be registered. This is useful to see the impact of a new deployment before registering it.- Returns:
- dryRun
-
setDryRun
-
equals
Return true if this RegisterDeploymentRequest_anyOf 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
-