Class StatusDetails
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class StatusDetails extends java.lang.Object implements com.marcnuri.yakc.model.Model
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatusDetails.Builder
-
Constructor Summary
Constructors Constructor Description StatusDetails()
StatusDetails(java.util.List<StatusCause> causes, java.lang.String group, java.lang.String kind, java.lang.String name, java.lang.Number retryAfterSeconds, java.lang.String uid)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatusDetails.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<StatusCause>
getCauses()
The Causes array includes more details associated with the StatusReason failure.java.lang.String
getGroup()
The group attribute of the resource associated with the status StatusReason.java.lang.String
getKind()
The kind attribute of the resource associated with the status StatusReason.java.lang.String
getName()
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).java.lang.Number
getRetryAfterSeconds()
If specified, the time in seconds before the operation should be retried.java.lang.String
getUid()
UID of the resource.int
hashCode()
void
setCauses(java.util.List<StatusCause> causes)
The Causes array includes more details associated with the StatusReason failure.void
setGroup(java.lang.String group)
The group attribute of the resource associated with the status StatusReason.void
setKind(java.lang.String kind)
The kind attribute of the resource associated with the status StatusReason.void
setName(java.lang.String name)
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).void
setRetryAfterSeconds(java.lang.Number retryAfterSeconds)
If specified, the time in seconds before the operation should be retried.void
setUid(java.lang.String uid)
UID of the resource.StatusDetails.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
StatusDetails
public StatusDetails(java.util.List<StatusCause> causes, java.lang.String group, java.lang.String kind, java.lang.String name, java.lang.Number retryAfterSeconds, java.lang.String uid)
-
StatusDetails
public StatusDetails()
-
-
Method Detail
-
builder
public static StatusDetails.Builder builder()
-
toBuilder
public StatusDetails.Builder toBuilder()
-
getCauses
public java.util.List<StatusCause> getCauses()
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
-
getGroup
public java.lang.String getGroup()
The group attribute of the resource associated with the status StatusReason.
-
getKind
public java.lang.String getKind()
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getName
public java.lang.String getName()
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
-
getRetryAfterSeconds
public java.lang.Number getRetryAfterSeconds()
If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
-
getUid
public java.lang.String getUid()
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
-
setCauses
public void setCauses(java.util.List<StatusCause> causes)
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
-
setGroup
public void setGroup(java.lang.String group)
The group attribute of the resource associated with the status StatusReason.
-
setKind
public void setKind(java.lang.String kind)
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setName
public void setName(java.lang.String name)
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
-
setRetryAfterSeconds
public void setRetryAfterSeconds(java.lang.Number retryAfterSeconds)
If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
-
setUid
public void setUid(java.lang.String uid)
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
-
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
-
-