Class ExternalMetricStatus

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ExternalMetricStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ExternalMetricStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExternalMetricStatus

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

        public ExternalMetricStatus​(io.fabric8.kubernetes.api.model.Quantity currentAverageValue,
                                    io.fabric8.kubernetes.api.model.Quantity currentValue,
                                    String metricName,
                                    io.fabric8.kubernetes.api.model.LabelSelector metricSelector)
    • Method Detail

      • getCurrentAverageValue

        public io.fabric8.kubernetes.api.model.Quantity getCurrentAverageValue()
        ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
      • setCurrentAverageValue

        public void setCurrentAverageValue​(io.fabric8.kubernetes.api.model.Quantity currentAverageValue)
        ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
      • getCurrentValue

        public io.fabric8.kubernetes.api.model.Quantity getCurrentValue()
        ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
      • setCurrentValue

        public void setCurrentValue​(io.fabric8.kubernetes.api.model.Quantity currentValue)
        ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
      • getMetricName

        public String getMetricName()
        metricName is the name of a metric used for autoscaling in metric system.
      • setMetricName

        public void setMetricName​(String metricName)
        metricName is the name of a metric used for autoscaling in metric system.
      • getMetricSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getMetricSelector()
        ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
      • setMetricSelector

        public void setMetricSelector​(io.fabric8.kubernetes.api.model.LabelSelector metricSelector)
        ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
      • getAdditionalProperties

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

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

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