Class V1StatusDetails

java.lang.Object
io.kubernetes.client.openapi.models.V1StatusDetails

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") 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 Details

  • Constructor Details

    • V1StatusDetails

      public V1StatusDetails()
  • Method Details

    • causes

      public V1StatusDetails causes(List<V1StatusCause> causes)
    • addCausesItem

      public V1StatusDetails addCausesItem(V1StatusCause causesItem)
    • getCauses

      @Nullable public List<V1StatusCause> getCauses()
      The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
      Returns:
      causes
    • setCauses

      public void setCauses(List<V1StatusCause> causes)
    • group

      public V1StatusDetails group(String group)
    • getGroup

      @Nullable public String getGroup()
      The group attribute of the resource associated with the status StatusReason.
      Returns:
      group
    • setGroup

      public void setGroup(String group)
    • kind

      public V1StatusDetails kind(String kind)
    • getKind

      @Nullable public 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
      Returns:
      kind
    • setKind

      public void setKind(String kind)
    • name

      public V1StatusDetails name(String name)
    • getName

      @Nullable public String getName()
      The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
      Returns:
      name
    • setName

      public void setName(String name)
    • retryAfterSeconds

      public V1StatusDetails retryAfterSeconds(Integer retryAfterSeconds)
    • getRetryAfterSeconds

      @Nullable public Integer 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:
      retryAfterSeconds
    • setRetryAfterSeconds

      public void setRetryAfterSeconds(Integer retryAfterSeconds)
    • uid

      public V1StatusDetails uid(String uid)
    • getUid

      @Nullable public 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
      Returns:
      uid
    • setUid

      public void setUid(String uid)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object