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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
lastTransitionTime is the time the condition last transitioned from one status to another.lastUpdateTime is the time of the last update to this conditionmessage contains a human readable message with details about the request statereason indicates a brief reason for the request statestatus of the condition, one of True, False, Unknown.getType()
type of the condition.int
hashCode()
lastTransitionTime
(ZonedDateTime lastTransitionTime) Set lastTransitionTime in a chainable fashion.lastUpdateTime
(ZonedDateTime lastUpdateTime) Set lastUpdateTime in a chainable fashion.Set message in a chainable fashion.Set reason in a chainable fashion.void
setLastTransitionTime
(ZonedDateTime lastTransitionTime) Set the lastTransitionTime property valuevoid
setLastUpdateTime
(ZonedDateTime lastUpdateTime) Set the lastUpdateTime property valuevoid
setMessage
(String message) Set the message property valuevoid
Set the reason property valuevoid
Set the status property valuevoid
Set the type property valueSet status in a chainable fashion.toString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_LAST_TRANSITION_TIME
- See Also:
-
JSON_PROPERTY_LAST_UPDATE_TIME
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
-
Constructor Details
-
V1CertificateSigningRequestCondition
-
-
Method Details
-
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
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
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
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
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
Set the lastTransitionTime property value- Parameters:
lastTransitionTime
- property value to set
-
lastTransitionTime
Set lastTransitionTime in a chainable fashion.- Returns:
- The same instance of V1CertificateSigningRequestCondition for chaining.
-
getLastUpdateTime
lastUpdateTime is the time of the last update to this condition- Returns:
- the lastUpdateTime property value
-
setLastUpdateTime
Set the lastUpdateTime property value- Parameters:
lastUpdateTime
- property value to set
-
lastUpdateTime
Set lastUpdateTime in a chainable fashion.- Returns:
- The same instance of V1CertificateSigningRequestCondition for chaining.
-
getMessage
message contains a human readable message with details about the request state- Returns:
- the message property value
-
setMessage
Set the message property value- Parameters:
message
- property value to set
-
message
Set message in a chainable fashion.- Returns:
- The same instance of V1CertificateSigningRequestCondition for chaining.
-
getReason
reason indicates a brief reason for the request state- Returns:
- the reason property value
-
setReason
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
-
hashCode
public int hashCode() -
toString
-