Class IoK8sApiAutoscalingV1ScaleStatus


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiAutoscalingV1ScaleStatus
    extends Object
    ScaleStatus represents the current status of a scale subresource.
    • Constructor Detail

      • IoK8sApiAutoscalingV1ScaleStatus

        public IoK8sApiAutoscalingV1ScaleStatus()
    • Method Detail

      • getReplicas

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

        public void setReplicas​(Integer replicas)
      • getSelector

        @Nullable
        public String getSelector()
        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: http://kubernetes.io/docs/user-guide/labels#label-selectors
        Returns:
        selector
      • setSelector

        public void setSelector​(String selector)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object