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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1Condition conditionsItem) Add an item to the conditions property in a chainable fashion.beginRefreshAt(OffsetDateTime beginRefreshAt) Set beginRefreshAt in a chainable fashion.certificateChain(String certificateChain) Set certificateChain in a chainable fashion.conditions(List<@Valid V1Condition> conditions) Set conditions in a chainable fashion.booleanbeginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate.certificateChain is populated with an issued certificate by the signer.List<@Valid V1Condition> conditions applied to the request.notAfter is the time at which the certificate expires.notBefore is the time at which the certificate becomes valid.inthashCode()notAfter(OffsetDateTime notAfter) Set notAfter in a chainable fashion.notBefore(OffsetDateTime notBefore) Set notBefore in a chainable fashion.voidsetBeginRefreshAt(OffsetDateTime beginRefreshAt) Set the beginRefreshAt property valuevoidsetCertificateChain(String certificateChain) Set the certificateChain property valuevoidsetConditions(List<@Valid V1Condition> conditions) Set the conditions property valuevoidsetNotAfter(OffsetDateTime notAfter) Set the notAfter property valuevoidsetNotBefore(OffsetDateTime notBefore) Set the notBefore property valuetoString()
-
Field Details
-
JSON_PROPERTY_BEGIN_REFRESH_AT
- See Also:
-
JSON_PROPERTY_CERTIFICATE_CHAIN
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_NOT_AFTER
- See Also:
-
JSON_PROPERTY_NOT_BEFORE
- See Also:
-
-
Constructor Details
-
V1alpha1PodCertificateRequestStatus
public V1alpha1PodCertificateRequestStatus()
-
-
Method Details
-
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
Set the beginRefreshAt property value- Parameters:
beginRefreshAt- property value to set
-
beginRefreshAt
Set beginRefreshAt in a chainable fashion.- Returns:
- The same instance of V1alpha1PodCertificateRequestStatus for chaining.
-
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
Set the certificateChain property value- Parameters:
certificateChain- property value to set
-
certificateChain
Set certificateChain in a chainable fashion.- Returns:
- The same instance of V1alpha1PodCertificateRequestStatus for chaining.
-
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
Set the conditions property value- Parameters:
conditions- property value to set
-
conditions
Set conditions in a chainable fashion.- Returns:
- The same instance of V1alpha1PodCertificateRequestStatus for chaining.
-
addConditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1alpha1PodCertificateRequestStatus for chaining.
-
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
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
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
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
-
hashCode
-
toString
-