Class V1StatusDetails
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1StatusDetails
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1StatusDetails
extends Object
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddcausesItem
(V1StatusCause causesItem) Add an item to the causes property in a chainable fashion.causes
(List<@Valid V1StatusCause> causes) Set causes in a chainable fashion.boolean
List<@Valid V1StatusCause>
The Causes array includes more details associated with the StatusReason failure.getGroup()
The group attribute of the resource associated with the status StatusReason.getKind()
The kind attribute of the resource associated with the status StatusReason.getName()
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).If specified, the time in seconds before the operation should be retried.getUid()
UID of the resource.Set group in a chainable fashion.int
hashCode()
Set kind in a chainable fashion.Set name in a chainable fashion.retryAfterSeconds
(Integer retryAfterSeconds) Set retryAfterSeconds in a chainable fashion.void
setCauses
(List<@Valid V1StatusCause> causes) Set the causes property valuevoid
Set the group property valuevoid
Set the kind property valuevoid
Set the name property valuevoid
setRetryAfterSeconds
(Integer retryAfterSeconds) Set the retryAfterSeconds property valuevoid
Set the uid property valuetoString()
Set uid in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_CAUSES
- See Also:
-
JSON_PROPERTY_GROUP
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RETRY_AFTER_SECONDS
- See Also:
-
JSON_PROPERTY_UID
- See Also:
-
-
Constructor Details
-
V1StatusDetails
public V1StatusDetails()
-
-
Method Details
-
getCauses
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.- Returns:
- the causes property value
-
setCauses
Set the causes property value -
causes
Set causes in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
addcausesItem
Add an item to the causes property in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
getGroup
The group attribute of the resource associated with the status StatusReason.- Returns:
- the group property value
-
setGroup
Set the group property value -
group
Set group in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
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- Returns:
- the kind property value
-
setKind
Set the kind property value -
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
getName
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
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.- Returns:
- the retryAfterSeconds property value
-
setRetryAfterSeconds
Set the retryAfterSeconds property value -
retryAfterSeconds
Set retryAfterSeconds in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
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- Returns:
- the uid property value
-
setUid
Set the uid property value -
uid
Set uid in a chainable fashion.- Returns:
- The same instance of V1StatusDetails for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-