Class ScaleStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ScaleStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ScaleStatus represents the current status of a scale subresource.
    See Also:
    Serialized Form
    • Constructor Detail

      • ScaleStatus

        public ScaleStatus()
        No args constructor for use in serialization
      • ScaleStatus

        public ScaleStatus​(Integer replicas,
                           String selector)
    • Method Detail

      • getReplicas

        public Integer getReplicas()
        replicas is the actual number of observed instances of the scaled object.
      • setReplicas

        public void setReplicas​(Integer replicas)
        replicas is the actual number of observed instances of the scaled object.
      • getSelector

        public String getSelector()
        selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      • setSelector

        public void setSelector​(String selector)
        selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)