Class ModifyServiceStateRequest

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

@Deprecated public class ModifyServiceStateRequest extends Object
Deprecated.
ModifyServiceStateRequest
  • Field Details

  • Constructor Details

    • ModifyServiceStateRequest

      public ModifyServiceStateRequest()
      Deprecated.
  • Method Details

    • version

      public ModifyServiceStateRequest version(@Nullable String version)
      Deprecated.
    • getVersion

      @Nullable public String getVersion()
      Deprecated.
      If set, the latest version of the state is compared with this value and the operation will fail when the versions differ.
      Returns:
      version
    • setVersion

      public void setVersion(@Nullable String version)
      Deprecated.
    • objectKey

      public ModifyServiceStateRequest objectKey(@Nonnull String objectKey)
      Deprecated.
    • getObjectKey

      @Nonnull public String getObjectKey()
      Deprecated.
      To what virtual object key to apply this change
      Returns:
      objectKey
    • setObjectKey

      public void setObjectKey(@Nonnull String objectKey)
      Deprecated.
    • newState

      public ModifyServiceStateRequest newState(@Nonnull Map<String, List<Integer>> newState)
      Deprecated.
    • putNewStateItem

      public ModifyServiceStateRequest putNewStateItem(String key, List<Integer> newStateItem)
      Deprecated.
    • getNewState

      @Nonnull public Map<String, List<Integer>> getNewState()
      Deprecated.
      The new state to replace the previous state with
      Returns:
      newState
    • setNewState

      public void setNewState(@Nonnull Map<String, List<Integer>> newState)
      Deprecated.
    • equals

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

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

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

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

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