Class V1VolumeError
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1VolumeError
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1VolumeError
extends Object
VolumeError captures an error encountered during a volume operation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Set errorCode in a chainable fashion.errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.message represents the error encountered during Attach or Detach operation.getTime()
time represents the time the error was encountered.int
hashCode()
Set message in a chainable fashion.void
setErrorCode
(Integer errorCode) Set the errorCode property valuevoid
setMessage
(String message) Set the message property valuevoid
setTime
(OffsetDateTime time) Set the time property valuetime
(OffsetDateTime time) Set time in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_ERROR_CODE
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_TIME
- See Also:
-
-
Constructor Details
-
V1VolumeError
public V1VolumeError()
-
-
Method Details
-
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:
- the errorCode property value
-
setErrorCode
Set the errorCode property value- Parameters:
errorCode
- property value to set
-
errorCode
Set errorCode in a chainable fashion.- Returns:
- The same instance of V1VolumeError for chaining.
-
getMessage
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.- Returns:
- the message property value
-
setMessage
Set the message property value- Parameters:
message
- property value to set
-
message
Set message in a chainable fashion.- Returns:
- The same instance of V1VolumeError for chaining.
-
getTime
time represents the time the error was encountered.- Returns:
- the time property value
-
setTime
Set the time property value- Parameters:
time
- property value to set
-
time
Set time in a chainable fashion.- Returns:
- The same instance of V1VolumeError for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-