Package dev.restate.admin.model
Class UpdateDeploymentRequestAnyOf
java.lang.Object
dev.restate.admin.model.UpdateDeploymentRequestAnyOf
UpdateDeploymentRequestAnyOf
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalHeaders
(Map<String, String> additionalHeaders) boolean
Return true if this UpdateDeploymentRequest_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.getUri()
Uri to use to discover/invoke the http deployment.If `true`, discovery will be attempted using a client that defaults to HTTP1.1 instead of a prior-knowledge HTTP2 client.int
hashCode()
putAdditionalHeadersItem
(String key, String additionalHeadersItem) void
setAdditionalHeaders
(Map<String, String> additionalHeaders) void
void
void
setUseHttp11
(Boolean useHttp11) 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_USE_HTTP11
- See Also:
-
JSON_PROPERTY_DRY_RUN
- See Also:
-
-
Constructor Details
-
UpdateDeploymentRequestAnyOf
public UpdateDeploymentRequestAnyOf()
-
-
Method Details
-
uri
-
getUri
Uri to use to discover/invoke the http deployment.- Returns:
- uri
-
setUri
-
additionalHeaders
-
putAdditionalHeadersItem
public UpdateDeploymentRequestAnyOf putAdditionalHeadersItem(String key, String additionalHeadersItem) -
getAdditionalHeaders
Additional headers added to the discover/invoke requests to the deployment.- Returns:
- additionalHeaders
-
setAdditionalHeaders
-
useHttp11
-
getUseHttp11
If `true`, discovery will be attempted using a client that defaults to HTTP1.1 instead of a prior-knowledge HTTP2 client. HTTP2 may still be used for TLS servers that advertise HTTP2 support via ALPN. HTTP1.1 deployments will only work in request-response mode.- Returns:
- useHttp11
-
setUseHttp11
-
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 UpdateDeploymentRequest_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
-