Class V1CertificateSigningRequestCondition

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CertificateSigningRequestCondition

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1CertificateSigningRequestCondition extends Object
CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object
  • Field Details

  • Constructor Details

    • V1CertificateSigningRequestCondition

      public V1CertificateSigningRequestCondition(String status, String type)
  • Method Details

    • getStatus

      public String getStatus()
      status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".
      Returns:
      the status property value
    • setStatus

      public void setStatus(String status)
      Set the status property value
      Parameters:
      status - property value to set
    • status

      Set status in a chainable fashion.
      Returns:
      The same instance of V1CertificateSigningRequestCondition for chaining.
    • getType

      public String getType()
      type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed.
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
      Parameters:
      type - property value to set
    • type

      Set type in a chainable fashion.
      Returns:
      The same instance of V1CertificateSigningRequestCondition for chaining.
    • getLastTransitionTime

      public ZonedDateTime getLastTransitionTime()
      lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.
      Returns:
      the lastTransitionTime property value
    • setLastTransitionTime

      public void setLastTransitionTime(ZonedDateTime lastTransitionTime)
      Set the lastTransitionTime property value
      Parameters:
      lastTransitionTime - property value to set
    • lastTransitionTime

      public V1CertificateSigningRequestCondition lastTransitionTime(ZonedDateTime lastTransitionTime)
      Set lastTransitionTime in a chainable fashion.
      Returns:
      The same instance of V1CertificateSigningRequestCondition for chaining.
    • getLastUpdateTime

      public ZonedDateTime getLastUpdateTime()
      lastUpdateTime is the time of the last update to this condition
      Returns:
      the lastUpdateTime property value
    • setLastUpdateTime

      public void setLastUpdateTime(ZonedDateTime lastUpdateTime)
      Set the lastUpdateTime property value
      Parameters:
      lastUpdateTime - property value to set
    • lastUpdateTime

      public V1CertificateSigningRequestCondition lastUpdateTime(ZonedDateTime lastUpdateTime)
      Set lastUpdateTime in a chainable fashion.
      Returns:
      The same instance of V1CertificateSigningRequestCondition for chaining.
    • getMessage

      public String getMessage()
      message contains a human readable message with details about the request state
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
      Parameters:
      message - property value to set
    • message

      public V1CertificateSigningRequestCondition message(String message)
      Set message in a chainable fashion.
      Returns:
      The same instance of V1CertificateSigningRequestCondition for chaining.
    • getReason

      public String getReason()
      reason indicates a brief reason for the request state
      Returns:
      the reason property value
    • setReason

      public void setReason(String reason)
      Set the reason property value
      Parameters:
      reason - property value to set
    • reason

      Set reason in a chainable fashion.
      Returns:
      The same instance of V1CertificateSigningRequestCondition 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