Class ReplicationControllerStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ReplicationControllerStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ReplicationControllerStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
ReplicationControllerStatus represents the current status of a replication controller.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicationControllerStatus.Builder
-
Constructor Summary
Constructors Constructor Description ReplicationControllerStatus()
ReplicationControllerStatus(java.lang.Number availableReplicas, java.util.List<ReplicationControllerCondition> conditions, java.lang.Number fullyLabeledReplicas, java.lang.Number observedGeneration, java.lang.Number readyReplicas, @NonNull java.lang.Number replicas)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicationControllerStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
getAvailableReplicas()
The number of available replicas (ready for at least minReadySeconds) for this replication controller.java.util.List<ReplicationControllerCondition>
getConditions()
Represents the latest available observations of a replication controller's current state.java.lang.Number
getFullyLabeledReplicas()
The number of pods that have labels matching the labels of the pod template of the replication controller.java.lang.Number
getObservedGeneration()
ObservedGeneration reflects the generation of the most recently observed replication controller.java.lang.Number
getReadyReplicas()
The number of ready replicas for this replication controller.@NonNull java.lang.Number
getReplicas()
Replicas is the most recently observed number of replicas.int
hashCode()
void
setAvailableReplicas(java.lang.Number availableReplicas)
The number of available replicas (ready for at least minReadySeconds) for this replication controller.void
setConditions(java.util.List<ReplicationControllerCondition> conditions)
Represents the latest available observations of a replication controller's current state.void
setFullyLabeledReplicas(java.lang.Number fullyLabeledReplicas)
The number of pods that have labels matching the labels of the pod template of the replication controller.void
setObservedGeneration(java.lang.Number observedGeneration)
ObservedGeneration reflects the generation of the most recently observed replication controller.void
setReadyReplicas(java.lang.Number readyReplicas)
The number of ready replicas for this replication controller.void
setReplicas(@NonNull java.lang.Number replicas)
Replicas is the most recently observed number of replicas.ReplicationControllerStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ReplicationControllerStatus
public ReplicationControllerStatus(java.lang.Number availableReplicas, java.util.List<ReplicationControllerCondition> conditions, java.lang.Number fullyLabeledReplicas, java.lang.Number observedGeneration, java.lang.Number readyReplicas, @NonNull @NonNull java.lang.Number replicas)
-
ReplicationControllerStatus
public ReplicationControllerStatus()
-
-
Method Detail
-
builder
public static ReplicationControllerStatus.Builder builder()
-
toBuilder
public ReplicationControllerStatus.Builder toBuilder()
-
getAvailableReplicas
public java.lang.Number getAvailableReplicas()
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
-
getConditions
public java.util.List<ReplicationControllerCondition> getConditions()
Represents the latest available observations of a replication controller's current state.
-
getFullyLabeledReplicas
public java.lang.Number getFullyLabeledReplicas()
The number of pods that have labels matching the labels of the pod template of the replication controller.
-
getObservedGeneration
public java.lang.Number getObservedGeneration()
ObservedGeneration reflects the generation of the most recently observed replication controller.
-
getReadyReplicas
public java.lang.Number getReadyReplicas()
The number of ready replicas for this replication controller.
-
getReplicas
@NonNull public @NonNull java.lang.Number getReplicas()
Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
-
setAvailableReplicas
public void setAvailableReplicas(java.lang.Number availableReplicas)
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
-
setConditions
public void setConditions(java.util.List<ReplicationControllerCondition> conditions)
Represents the latest available observations of a replication controller's current state.
-
setFullyLabeledReplicas
public void setFullyLabeledReplicas(java.lang.Number fullyLabeledReplicas)
The number of pods that have labels matching the labels of the pod template of the replication controller.
-
setObservedGeneration
public void setObservedGeneration(java.lang.Number observedGeneration)
ObservedGeneration reflects the generation of the most recently observed replication controller.
-
setReadyReplicas
public void setReadyReplicas(java.lang.Number readyReplicas)
The number of ready replicas for this replication controller.
-
setReplicas
public void setReplicas(@NonNull @NonNull java.lang.Number replicas)
Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-