Class V1alpha1StorageVersionMigrationSpec

java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1StorageVersionMigrationSpec

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-04T19:05:53.712211Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1alpha1StorageVersionMigrationSpec extends Object
Spec of the storage version migration.
  • Field Details

  • Constructor Details

    • V1alpha1StorageVersionMigrationSpec

      public V1alpha1StorageVersionMigrationSpec()
  • Method Details

    • continueToken

      public V1alpha1StorageVersionMigrationSpec continueToken(String continueToken)
    • getContinueToken

      @Nullable public String getContinueToken()
      The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.
      Returns:
      continueToken
    • setContinueToken

      public void setContinueToken(String continueToken)
    • resource

    • getResource

      @Nonnull public V1alpha1GroupVersionResource getResource()
      Get resource
      Returns:
      resource
    • setResource

      public void setResource(V1alpha1GroupVersionResource resource)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

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

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to V1alpha1StorageVersionMigrationSpec
    • fromJson

      public static V1alpha1StorageVersionMigrationSpec fromJson(String jsonString) throws IOException
      Create an instance of V1alpha1StorageVersionMigrationSpec given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1alpha1StorageVersionMigrationSpec
      Throws:
      IOException - if the JSON string is invalid with respect to V1alpha1StorageVersionMigrationSpec
    • toJson

      public String toJson()
      Convert an instance of V1alpha1StorageVersionMigrationSpec to an JSON string
      Returns:
      JSON string