Package dev.restate.admin.model
Class RegisterDeploymentRequestAnyOf1
java.lang.Object
dev.restate.admin.model.RegisterDeploymentRequestAnyOf1
RegisterDeploymentRequestAnyOf1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalHeaders
(Map<String, String> additionalHeaders) assumeRoleArn
(String assumeRoleArn) boolean
Return true if this RegisterDeploymentRequest_anyOf_1 object is equal to o.Additional headers added to the discover/invoke requests to the deployment.getArn()
ARN to use to discover/invoke the lambda deployment.Optional ARN of a role to assume when invoking the addressed Lambda, to support role chainingIf `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`.int
hashCode()
putAdditionalHeadersItem
(String key, String additionalHeadersItem) void
setAdditionalHeaders
(Map<String, String> additionalHeaders) void
void
setAssumeRoleArn
(String assumeRoleArn) void
void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ARN
- See Also:
-
JSON_PROPERTY_ASSUME_ROLE_ARN
- See Also:
-
JSON_PROPERTY_ADDITIONAL_HEADERS
- See Also:
-
JSON_PROPERTY_FORCE
- See Also:
-
JSON_PROPERTY_DRY_RUN
- See Also:
-
-
Constructor Details
-
RegisterDeploymentRequestAnyOf1
public RegisterDeploymentRequestAnyOf1()
-
-
Method Details
-
arn
-
getArn
ARN to use to discover/invoke the lambda deployment.- Returns:
- arn
-
setArn
-
assumeRoleArn
-
getAssumeRoleArn
Optional ARN of a role to assume when invoking the addressed Lambda, to support role chaining- Returns:
- assumeRoleArn
-
setAssumeRoleArn
-
additionalHeaders
-
putAdditionalHeadersItem
public RegisterDeploymentRequestAnyOf1 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_1 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
-