Class V2beta2HPAScalingPolicy

java.lang.Object
io.kubernetes.client.openapi.models.V2beta2HPAScalingPolicy

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V2beta2HPAScalingPolicy extends Object
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
  • Field Details

  • Constructor Details

    • V2beta2HPAScalingPolicy

      public V2beta2HPAScalingPolicy()
  • Method Details

    • periodSeconds

      public V2beta2HPAScalingPolicy periodSeconds(Integer periodSeconds)
    • getPeriodSeconds

      public Integer getPeriodSeconds()
      PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
      Returns:
      periodSeconds
    • setPeriodSeconds

      public void setPeriodSeconds(Integer periodSeconds)
    • type

      public V2beta2HPAScalingPolicy type(String type)
    • getType

      public String getType()
      Type is used to specify the scaling policy.
      Returns:
      type
    • setType

      public void setType(String type)
    • value

      public V2beta2HPAScalingPolicy value(Integer value)
    • getValue

      public Integer getValue()
      Value contains the amount of change which is permitted by the policy. It must be greater than zero
      Returns:
      value
    • setValue

      public void setValue(Integer value)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object