Class V1VolumeError

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-22T21:20:49.874193Z[Etc/UTC]") public class V1VolumeError extends Object
VolumeError captures an error encountered during a volume operation.
  • Field Details

  • Constructor Details

    • V1VolumeError

      public V1VolumeError()
  • Method Details

    • errorCode

      public V1VolumeError errorCode(Integer errorCode)
    • getErrorCode

      @Nullable public Integer getErrorCode()
      errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This is an optional, alpha field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
      Returns:
      errorCode
    • setErrorCode

      public void setErrorCode(Integer errorCode)
    • message

      public V1VolumeError message(String message)
    • getMessage

      @Nullable public String getMessage()
      message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • time

      public V1VolumeError time(OffsetDateTime time)
    • getTime

      @Nullable public OffsetDateTime getTime()
      time represents the time the error was encountered.
      Returns:
      time
    • setTime

      public void setTime(OffsetDateTime time)
    • 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