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 Details

  • Constructor Details

    • V1StatusDetails

      public V1StatusDetails()
  • Method Details

    • getCauses

      public List<@Valid V1StatusCause> 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

      public void setCauses(List<@Valid V1StatusCause> causes)
      Set the causes property value
    • causes

      public V1StatusDetails causes(List<@Valid V1StatusCause> causes)
      Set causes in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • addcausesItem

      public V1StatusDetails addcausesItem(V1StatusCause causesItem)
      Add an item to the causes property in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • getGroup

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

      public void setGroup(String group)
      Set the group property value
    • group

      public V1StatusDetails group(String group)
      Set group in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • getKind

      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:
      the kind property value
    • setKind

      public void setKind(String kind)
      Set the kind property value
    • kind

      public V1StatusDetails kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • getName

      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:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1StatusDetails name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • getRetryAfterSeconds

      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:
      the retryAfterSeconds property value
    • setRetryAfterSeconds

      public void setRetryAfterSeconds(Integer retryAfterSeconds)
      Set the retryAfterSeconds property value
    • retryAfterSeconds

      public V1StatusDetails retryAfterSeconds(Integer retryAfterSeconds)
      Set retryAfterSeconds in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • getUid

      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:
      the uid property value
    • setUid

      public void setUid(String uid)
      Set the uid property value
    • uid

      public V1StatusDetails uid(String uid)
      Set uid in a chainable fashion.
      Returns:
      The same instance of V1StatusDetails for chaining.
    • 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