Class V1DeploymentStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1DeploymentStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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) boolean
static V1DeploymentStatus
Create an instance of V1DeploymentStatus given an JSON stringTotal number of available 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.readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.Total number of non-terminated pods targeted by this deployment (their labels match the selector).Total number of unavailable pods targeted by this deployment.Total number of non-terminated pods targeted by this deployment that have the desired template spec.int
hashCode()
observedGeneration
(Long observedGeneration) readyReplicas
(Integer readyReplicas) void
setAvailableReplicas
(Integer availableReplicas) void
setCollisionCount
(Integer collisionCount) void
setConditions
(List<V1DeploymentCondition> conditions) void
setObservedGeneration
(Long observedGeneration) void
setReadyReplicas
(Integer readyReplicas) void
setReplicas
(Integer replicas) void
setUnavailableReplicas
(Integer unavailableReplicas) void
setUpdatedReplicas
(Integer updatedReplicas) toJson()
Convert an instance of V1DeploymentStatus to an JSON stringtoString()
unavailableReplicas
(Integer unavailableReplicas) updatedReplicas
(Integer updatedReplicas) static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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_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 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
readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.- Returns:
- readyReplicas
-
setReadyReplicas
-
replicas
-
getReplicas
Total number of non-terminated pods targeted by this deployment (their labels match the selector).- Returns:
- replicas
-
setReplicas
-
updatedReplicas
-
getUpdatedReplicas
Total number of non-terminated pods targeted by this deployment that have the desired template spec.- Returns:
- updatedReplicas
-
setUpdatedReplicas
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object 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
-