Class RegisterDeploymentRequestAnyOf1

java.lang.Object
dev.restate.admin.model.RegisterDeploymentRequestAnyOf1

public class RegisterDeploymentRequestAnyOf1 extends Object
RegisterDeploymentRequestAnyOf1
  • Field Details

  • Constructor Details

    • RegisterDeploymentRequestAnyOf1

      public RegisterDeploymentRequestAnyOf1()
  • Method Details

    • arn

    • getArn

      @Nonnull public String getArn()
      ARN to use to discover/invoke the lambda deployment.
      Returns:
      arn
    • setArn

      public void setArn(String arn)
    • assumeRoleArn

      public RegisterDeploymentRequestAnyOf1 assumeRoleArn(String assumeRoleArn)
    • getAssumeRoleArn

      @Nullable public String getAssumeRoleArn()
      Optional ARN of a role to assume when invoking the addressed Lambda, to support role chaining
      Returns:
      assumeRoleArn
    • setAssumeRoleArn

      public void setAssumeRoleArn(String assumeRoleArn)
    • additionalHeaders

      public RegisterDeploymentRequestAnyOf1 additionalHeaders(Map<String,String> additionalHeaders)
    • putAdditionalHeadersItem

      public RegisterDeploymentRequestAnyOf1 putAdditionalHeadersItem(String key, String additionalHeadersItem)
    • getAdditionalHeaders

      @Nullable public Map<String,String> getAdditionalHeaders()
      Additional headers added to the discover/invoke requests to the deployment.
      Returns:
      additionalHeaders
    • setAdditionalHeaders

      public void setAdditionalHeaders(Map<String,String> additionalHeaders)
    • force

    • getForce

      @Nullable public Boolean 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

      public void setForce(Boolean force)
    • dryRun

      public RegisterDeploymentRequestAnyOf1 dryRun(Boolean dryRun)
    • getDryRun

      @Nullable public Boolean 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

      public void setDryRun(Boolean dryRun)
    • equals

      public boolean equals(Object o)
      Return true if this RegisterDeploymentRequest_anyOf_1 object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string