Class V1alpha1PodCertificateRequestStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha1PodCertificateRequestStatus extends Object
PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.
  • Field Details

  • Constructor Details

    • V1alpha1PodCertificateRequestStatus

      public V1alpha1PodCertificateRequestStatus()
  • Method Details

    • getBeginRefreshAt

      public OffsetDateTime getBeginRefreshAt()
      beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable. This field is only a hint. Kubelet may start refreshing before or after this time if necessary.
      Returns:
      the beginRefreshAt property value
    • setBeginRefreshAt

      public void setBeginRefreshAt(OffsetDateTime beginRefreshAt)
      Set the beginRefreshAt property value
      Parameters:
      beginRefreshAt - property value to set
    • beginRefreshAt

      public V1alpha1PodCertificateRequestStatus beginRefreshAt(OffsetDateTime beginRefreshAt)
      Set beginRefreshAt in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodCertificateRequestStatus for chaining.
    • getCertificateChain

      public String getCertificateChain()
      certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificateChain must consist of one or more PEM-formatted certificates. 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as described in section 4 of RFC5280. If more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers.
      Returns:
      the certificateChain property value
    • setCertificateChain

      public void setCertificateChain(String certificateChain)
      Set the certificateChain property value
      Parameters:
      certificateChain - property value to set
    • certificateChain

      public V1alpha1PodCertificateRequestStatus certificateChain(String certificateChain)
      Set certificateChain in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodCertificateRequestStatus for chaining.
    • getConditions

      public List<@Valid V1Condition> getConditions()
      conditions applied to the request. The types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\". If the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field.
      Returns:
      the conditions property value
    • setConditions

      public void setConditions(List<@Valid V1Condition> conditions)
      Set the conditions property value
      Parameters:
      conditions - property value to set
    • conditions

      public V1alpha1PodCertificateRequestStatus conditions(List<@Valid V1Condition> conditions)
      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodCertificateRequestStatus for chaining.
    • addConditionsItem

      public V1alpha1PodCertificateRequestStatus addConditionsItem(V1Condition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodCertificateRequestStatus for chaining.
    • getNotAfter

      public OffsetDateTime getNotAfter()
      notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.
      Returns:
      the notAfter property value
    • setNotAfter

      public void setNotAfter(OffsetDateTime notAfter)
      Set the notAfter property value
      Parameters:
      notAfter - property value to set
    • notAfter

      Set notAfter in a chainable fashion.
      Returns:
      The same instance of V1alpha1PodCertificateRequestStatus for chaining.
    • getNotBefore

      public OffsetDateTime getNotBefore()
      notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.
      Returns:
      the notBefore property value
    • setNotBefore

      public void setNotBefore(OffsetDateTime notBefore)
      Set the notBefore property value
      Parameters:
      notBefore - property value to set
    • notBefore

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