Class VolumeError
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.storage.VolumeError
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VolumeErrorBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VolumeError extends Object implements io.fabric8.kubernetes.api.builder.Editable<VolumeErrorBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VolumeError captures an error encountered during a volume operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeError()No args constructor for use in serializationVolumeError(Integer errorCode, String message, String time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeErrorBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetErrorCode()errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.StringgetMessage()message represents the error encountered during Attach or Detach operation.StringgetTime()VolumeError captures an error encountered during a volume operation.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetErrorCode(Integer errorCode)errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.voidsetMessage(String message)message represents the error encountered during Attach or Detach operation.voidsetTime(String time)VolumeError captures an error encountered during a volume operation.VolumeErrorBuildertoBuilder()
-
-
-
Method Detail
-
getErrorCode
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.
-
setErrorCode
public void setErrorCode(Integer errorCode)
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.
-
getMessage
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.
-
setMessage
public void setMessage(String message)
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
-
getTime
public String getTime()
VolumeError captures an error encountered during a volume operation.
-
setTime
public void setTime(String time)
VolumeError captures an error encountered during a volume operation.
-
edit
public VolumeErrorBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VolumeErrorBuilder>
-
toBuilder
public VolumeErrorBuilder toBuilder()
-
-