Class ShardStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.ShardStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ShardStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ShardStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ShardStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShardStatus()No args constructor for use in serializationShardStatus(Integer availableReplicas, Integer replicas, String shardID, Integer unavailableReplicas, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this shard.IntegergetReplicas()Total number of pods targeted by this shard.StringgetShardID()Identifier of the shard.IntegergetUnavailableReplicas()Total number of unavailable pods targeted by this shard.IntegergetUpdatedReplicas()Total number of non-terminated pods targeted by this shard that have the desired spec.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)Total number of available pods (ready for at least minReadySeconds) targeted by this shard.voidsetReplicas(Integer replicas)Total number of pods targeted by this shard.voidsetShardID(String shardID)Identifier of the shard.voidsetUnavailableReplicas(Integer unavailableReplicas)Total number of unavailable pods targeted by this shard.voidsetUpdatedReplicas(Integer updatedReplicas)Total number of non-terminated pods targeted by this shard that have the desired spec.ShardStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this shard.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this shard.
-
getReplicas
public Integer getReplicas()
Total number of pods targeted by this shard.
-
setReplicas
public void setReplicas(Integer replicas)
Total number of pods targeted by this shard.
-
getShardID
public String getShardID()
Identifier of the shard.
-
setShardID
public void setShardID(String shardID)
Identifier of the shard.
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
Total number of unavailable pods targeted by this shard.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
Total number of unavailable pods targeted by this shard.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
Total number of non-terminated pods targeted by this shard that have the desired spec.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
Total number of non-terminated pods targeted by this shard that have the desired spec.
-
edit
public ShardStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ShardStatusBuilder>
-
toBuilder
public ShardStatusBuilder toBuilder()
-
-