Class RegisterDeploymentRequestAnyOf

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

public class RegisterDeploymentRequestAnyOf extends Object
RegisterDeploymentRequestAnyOf
  • Field Details

  • Constructor Details

    • RegisterDeploymentRequestAnyOf

      public RegisterDeploymentRequestAnyOf()
  • Method Details

    • uri

    • getUri

      @Nonnull public String getUri()
      Uri to use to discover/invoke the http deployment.
      Returns:
      uri
    • setUri

      public void setUri(String uri)
    • additionalHeaders

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

      public RegisterDeploymentRequestAnyOf 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 RegisterDeploymentRequestAnyOf 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 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