Class V1DeploymentStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1DeploymentStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1DeploymentStatus
extends Object
DeploymentStatus is the most recently observed status of the Deployment.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1DeploymentCondition conditionsItem) availableReplicas(Integer availableReplicas) collisionCount(Integer collisionCount) conditions(List<V1DeploymentCondition> conditions) booleanstatic V1DeploymentStatusCreate an instance of V1DeploymentStatus given an JSON stringTotal number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.Count of hash collisions for the Deployment.Represents the latest available observations of a deployment's current state.The generation observed by the deployment controller.Total number of non-terminating pods targeted by this Deployment with a Ready Condition.Total number of non-terminating pods targeted by this deployment (their labels match the selector).Total number of terminating pods targeted by this deployment.Total number of unavailable pods targeted by this deployment.Total number of non-terminating pods targeted by this deployment that have the desired template spec.inthashCode()observedGeneration(Long observedGeneration) readyReplicas(Integer readyReplicas) voidsetAvailableReplicas(Integer availableReplicas) voidsetCollisionCount(Integer collisionCount) voidsetConditions(List<V1DeploymentCondition> conditions) voidsetObservedGeneration(Long observedGeneration) voidsetReadyReplicas(Integer readyReplicas) voidsetReplicas(Integer replicas) voidsetTerminatingReplicas(Integer terminatingReplicas) voidsetUnavailableReplicas(Integer unavailableReplicas) voidsetUpdatedReplicas(Integer updatedReplicas) terminatingReplicas(Integer terminatingReplicas) toJson()Convert an instance of V1DeploymentStatus to an JSON stringtoString()unavailableReplicas(Integer unavailableReplicas) updatedReplicas(Integer updatedReplicas) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AVAILABLE_REPLICAS
- See Also:
-
SERIALIZED_NAME_COLLISION_COUNT
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_READY_REPLICAS
- See Also:
-
SERIALIZED_NAME_REPLICAS
- See Also:
-
SERIALIZED_NAME_TERMINATING_REPLICAS
- See Also:
-
SERIALIZED_NAME_UNAVAILABLE_REPLICAS
- See Also:
-
SERIALIZED_NAME_UPDATED_REPLICAS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1DeploymentStatus
public V1DeploymentStatus()
-
-
Method Details
-
availableReplicas
-
getAvailableReplicas
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.- Returns:
- availableReplicas
-
setAvailableReplicas
-
collisionCount
-
getCollisionCount
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.- Returns:
- collisionCount
-
setCollisionCount
-
conditions
-
addConditionsItem
-
getConditions
Represents the latest available observations of a deployment's current state.- Returns:
- conditions
-
setConditions
-
observedGeneration
-
getObservedGeneration
The generation observed by the deployment controller.- Returns:
- observedGeneration
-
setObservedGeneration
-
readyReplicas
-
getReadyReplicas
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
-
replicas
-
getReplicas
Total number of non-terminating pods targeted by this deployment (their labels match the selector).- Returns:
- replicas
-
setReplicas
-
terminatingReplicas
-
getTerminatingReplicas
Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.- Returns:
- terminatingReplicas
-
setTerminatingReplicas
-
updatedReplicas
-
getUpdatedReplicas
Total number of non-terminating pods targeted by this deployment that have the desired template spec.- Returns:
- updatedReplicas
-
setUpdatedReplicas
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1DeploymentStatus
-
fromJson
Create an instance of V1DeploymentStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1DeploymentStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1DeploymentStatus
-
toJson
Convert an instance of V1DeploymentStatus to an JSON string- Returns:
- JSON string
-