Class ShardStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.ShardStatus
-
- All Implemented Interfaces:
Editable<ShardStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ShardStatus extends Object implements Editable<ShardStatusBuilder>, 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()availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this shard.IntegergetReplicas()replicas defines the total number of pods targeted by this shard.StringgetShardID()shardID defines the identifier of the shard.IntegergetUnavailableReplicas()unavailableReplicas defines the Total number of unavailable pods targeted by this shard.IntegergetUpdatedReplicas()updatedReplicas defines the 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)availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this shard.voidsetReplicas(Integer replicas)replicas defines the total number of pods targeted by this shard.voidsetShardID(String shardID)shardID defines the identifier of the shard.voidsetUnavailableReplicas(Integer unavailableReplicas)unavailableReplicas defines the Total number of unavailable pods targeted by this shard.voidsetUpdatedReplicas(Integer updatedReplicas)updatedReplicas defines the total number of non-terminated pods targeted by this shard that have the desired spec.ShardStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this shard.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this shard.
-
getReplicas
public Integer getReplicas()
replicas defines the total number of pods targeted by this shard.
-
setReplicas
public void setReplicas(Integer replicas)
replicas defines the total number of pods targeted by this shard.
-
getShardID
public String getShardID()
shardID defines the identifier of the shard.
-
setShardID
public void setShardID(String shardID)
shardID defines the identifier of the shard.
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
unavailableReplicas defines the Total number of unavailable pods targeted by this shard.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
unavailableReplicas defines the Total number of unavailable pods targeted by this shard.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
updatedReplicas defines the total number of non-terminated pods targeted by this shard that have the desired spec.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
updatedReplicas defines the total number of non-terminated pods targeted by this shard that have the desired spec.
-
edit
public ShardStatusBuilder edit()
- Specified by:
editin interfaceEditable<ShardStatusBuilder>
-
toBuilder
public ShardStatusBuilder toBuilder()
-
-