Class NodeDuressSettings


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class NodeDuressSettings
    extends Object
    NodeDuressSettings
    • Constructor Detail

      • NodeDuressSettings

        public NodeDuressSettings()
    • Method Detail

      • getCpuThreshold

        @Nullable
        public BigDecimal getCpuThreshold()
        The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9 minimum: 0.0 maximum: 1.0
        Returns:
        cpuThreshold
      • setCpuThreshold

        public void setCpuThreshold​(BigDecimal cpuThreshold)
      • getHeapThreshold

        @Nullable
        public BigDecimal getHeapThreshold()
        The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7 minimum: 0.0 maximum: 1.0
        Returns:
        heapThreshold
      • setHeapThreshold

        public void setHeapThreshold​(BigDecimal heapThreshold)
      • getNumSuccessiveBreaches

        @Nullable
        public Integer getNumSuccessiveBreaches()
        The number of successive limit breaches after which the node is considered to be under duress. Default is 3 minimum: 1
        Returns:
        numSuccessiveBreaches
      • setNumSuccessiveBreaches

        public void setNumSuccessiveBreaches​(Integer numSuccessiveBreaches)
      • equals

        public boolean equals​(Object o)
        Return true if this Node_duress_settings object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string