Class CustomResourceDefinitionCondition
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apiextensions.v1.CustomResourceDefinitionCondition
-
- All Implemented Interfaces:
Editable<CustomResourceDefinitionConditionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CustomResourceDefinitionCondition extends Object implements Editable<CustomResourceDefinitionConditionBuilder>, KubernetesResource
CustomResourceDefinitionCondition contains details for the current condition of this pod.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomResourceDefinitionCondition()No args constructor for use in serializationCustomResourceDefinitionCondition(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomResourceDefinitionConditionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastTransitionTime()CustomResourceDefinitionCondition contains details for the current condition of this pod.StringgetMessage()message is a human-readable message indicating details about last transition.LonggetObservedGeneration()observedGeneration represents the .metadata.generation that the condition was set based upon.StringgetReason()reason is a unique, one-word, CamelCase reason for the condition's last transition.StringgetStatus()status is the status of the condition.StringgetType()type is the type of the condition.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLastTransitionTime(String lastTransitionTime)CustomResourceDefinitionCondition contains details for the current condition of this pod.voidsetMessage(String message)message is a human-readable message indicating details about last transition.voidsetObservedGeneration(Long observedGeneration)observedGeneration represents the .metadata.generation that the condition was set based upon.voidsetReason(String reason)reason is a unique, one-word, CamelCase reason for the condition's last transition.voidsetStatus(String status)status is the status of the condition.voidsetType(String type)type is the type of the condition.CustomResourceDefinitionConditionBuildertoBuilder()
-
-
-
Method Detail
-
getLastTransitionTime
public String getLastTransitionTime()
CustomResourceDefinitionCondition contains details for the current condition of this pod.
-
setLastTransitionTime
public void setLastTransitionTime(String lastTransitionTime)
CustomResourceDefinitionCondition contains details for the current condition of this pod.
-
getMessage
public String getMessage()
message is a human-readable message indicating details about last transition.
-
setMessage
public void setMessage(String message)
message is a human-readable message indicating details about last transition.
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
-
getReason
public String getReason()
reason is a unique, one-word, CamelCase reason for the condition's last transition.
-
setReason
public void setReason(String reason)
reason is a unique, one-word, CamelCase reason for the condition's last transition.
-
getStatus
public String getStatus()
status is the status of the condition. Can be True, False, Unknown.
-
setStatus
public void setStatus(String status)
status is the status of the condition. Can be True, False, Unknown.
-
getType
public String getType()
type is the type of the condition. Types include Established, NamesAccepted and Terminating.
-
setType
public void setType(String type)
type is the type of the condition. Types include Established, NamesAccepted and Terminating.
-
edit
public CustomResourceDefinitionConditionBuilder edit()
- Specified by:
editin interfaceEditable<CustomResourceDefinitionConditionBuilder>
-
toBuilder
public CustomResourceDefinitionConditionBuilder toBuilder()
-
-