Class V1DeploymentStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DeploymentStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1DeploymentStatus
extends Object
DeploymentStatus is the most recently observed status of the Deployment.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddconditionsItem
(V1DeploymentCondition conditionsItem) Add an item to the conditions property in a chainable fashion.availableReplicas
(Integer availableReplicas) Set availableReplicas in a chainable fashion.collisionCount
(Integer collisionCount) Set collisionCount in a chainable fashion.conditions
(List<@Valid V1DeploymentCondition> conditions) Set conditions in a chainable fashion.boolean
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.Count of hash collisions for the Deployment.List<@Valid V1DeploymentCondition>
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) Set observedGeneration in a chainable fashion.readyReplicas
(Integer readyReplicas) Set readyReplicas in a chainable fashion.Set replicas in a chainable fashion.void
setAvailableReplicas
(Integer availableReplicas) Set the availableReplicas property valuevoid
setCollisionCount
(Integer collisionCount) Set the collisionCount property valuevoid
setConditions
(List<@Valid V1DeploymentCondition> conditions) Set the conditions property valuevoid
setObservedGeneration
(Long observedGeneration) Set the observedGeneration property valuevoid
setReadyReplicas
(Integer readyReplicas) Set the readyReplicas property valuevoid
setReplicas
(Integer replicas) Set the replicas property valuevoid
setUnavailableReplicas
(Integer unavailableReplicas) Set the unavailableReplicas property valuevoid
setUpdatedReplicas
(Integer updatedReplicas) Set the updatedReplicas property valuetoString()
unavailableReplicas
(Integer unavailableReplicas) Set unavailableReplicas in a chainable fashion.updatedReplicas
(Integer updatedReplicas) Set updatedReplicas in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_AVAILABLE_REPLICAS
- See Also:
-
JSON_PROPERTY_COLLISION_COUNT
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
-
JSON_PROPERTY_READY_REPLICAS
- See Also:
-
JSON_PROPERTY_REPLICAS
- See Also:
-
JSON_PROPERTY_UNAVAILABLE_REPLICAS
- See Also:
-
JSON_PROPERTY_UPDATED_REPLICAS
- See Also:
-
-
Constructor Details
-
V1DeploymentStatus
public V1DeploymentStatus()
-
-
Method Details
-
getAvailableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.- Returns:
- the availableReplicas property value
-
setAvailableReplicas
Set the availableReplicas property value- Parameters:
availableReplicas
- property value to set
-
availableReplicas
Set availableReplicas in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
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:
- the collisionCount property value
-
setCollisionCount
Set the collisionCount property value- Parameters:
collisionCount
- property value to set
-
collisionCount
Set collisionCount in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
getConditions
Represents the latest available observations of a deployment's current state.- 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 V1DeploymentStatus for chaining.
-
addconditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
getObservedGeneration
The generation observed by the deployment controller.- Returns:
- the observedGeneration property value
-
setObservedGeneration
Set the observedGeneration property value- Parameters:
observedGeneration
- property value to set
-
observedGeneration
Set observedGeneration in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
getReadyReplicas
readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.- Returns:
- the readyReplicas property value
-
setReadyReplicas
Set the readyReplicas property value- Parameters:
readyReplicas
- property value to set
-
readyReplicas
Set readyReplicas in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
getReplicas
Total number of non-terminated pods targeted by this deployment (their labels match the selector).- Returns:
- the replicas property value
-
setReplicas
Set the replicas property value- Parameters:
replicas
- property value to set
-
replicas
Set replicas in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
getUpdatedReplicas
Total number of non-terminated pods targeted by this deployment that have the desired template spec.- Returns:
- the updatedReplicas property value
-
setUpdatedReplicas
Set the updatedReplicas property value- Parameters:
updatedReplicas
- property value to set
-
updatedReplicas
Set updatedReplicas in a chainable fashion.- Returns:
- The same instance of V1DeploymentStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-