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

    • 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
    • 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
    • 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
    • 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
    • reason

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

      Set type 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