Class VolumeError
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.storage.v1.VolumeError
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class VolumeError extends java.lang.Object implements com.marcnuri.yakc.model.Model
VolumeError captures an error encountered during a volume operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VolumeError.Builder
-
Constructor Summary
Constructors Constructor Description VolumeError()
VolumeError(java.lang.String message, java.time.OffsetDateTime time)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeError.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getMessage()
message represents the error encountered during Attach or Detach operation.java.time.OffsetDateTime
getTime()
int
hashCode()
void
setMessage(java.lang.String message)
message represents the error encountered during Attach or Detach operation.void
setTime(java.time.OffsetDateTime time)
VolumeError.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static VolumeError.Builder builder()
-
toBuilder
public VolumeError.Builder toBuilder()
-
getMessage
public java.lang.String getMessage()
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
-
getTime
public java.time.OffsetDateTime getTime()
-
setMessage
public void setMessage(java.lang.String message)
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
-
setTime
public void setTime(java.time.OffsetDateTime time)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-