Class Watch

    • Field Detail

      • algorithm

        @ApiProperty(canBeNullOrNotSet=true)
        protected String algorithm
        The algorithm to use when aggregating and comparing. Currently, the only value that is accepted is EWMA (Exponential Weighted Moving Average). EWMA is the default value if no value is given.
      • algorithmSpecified

        protected boolean algorithmSpecified
      • createDateSpecified

        protected boolean createDateSpecified
      • deleteFlag

        @ApiProperty(canBeNullOrNotSet=true)
        protected Boolean deleteFlag
        When set and true any edit that happens on this object, be it calling edit on this directly or setting as a child while editing a parent object, will end up being a deletion.
      • deleteFlagSpecified

        protected boolean deleteFlagSpecified
      • idSpecified

        protected boolean idSpecified
      • metric

        @ApiProperty(canBeNullOrNotSet=true)
        protected String metric
        The metric to watch. Possible values:


        * host.cpu.percent - On a scale of 0 to 100, the percent CPU a guest is using.
        * host.network.backend.in and host.network.frontend.in - The network bytes-per-second incoming on the interface
        of either the frontend or backend network.
        * host.network.backend.out and host.network.frontend.out - The network bytes-per-second incoming on the interface
        of either the frontend or backend network.
      • metricSpecified

        protected boolean metricSpecified
      • modifyDateSpecified

        protected boolean modifyDateSpecified
      • operatorSpecified

        protected boolean operatorSpecified
      • period

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long period
        The number of seconds the values are aggregated for when compared to value. If values are not retrieved steadily and consecutively for the length of this period, nothing is compared.
      • periodSpecified

        protected boolean periodSpecified
      • scalePolicyTriggerIdSpecified

        protected boolean scalePolicyTriggerIdSpecified
      • value

        @ApiProperty(canBeNullOrNotSet=true)
        protected String value
        The value to compare against. Although the value is a string, validation will be done on the value for restrictions (such as numeric-only) based on the metric.
      • valueSpecified

        protected boolean valueSpecified
    • Constructor Detail

      • Watch

        public Watch()
    • Method Detail

      • getScalePolicyTrigger

        public ResourceUse getScalePolicyTrigger()
      • setScalePolicyTrigger

        public void setScalePolicyTrigger​(ResourceUse scalePolicyTrigger)
      • getAlgorithm

        public String getAlgorithm()
      • setAlgorithm

        public void setAlgorithm​(String algorithm)
      • isAlgorithmSpecified

        public boolean isAlgorithmSpecified()
      • unsetAlgorithm

        public void unsetAlgorithm()
      • isCreateDateSpecified

        public boolean isCreateDateSpecified()
      • unsetCreateDate

        public void unsetCreateDate()
      • getDeleteFlag

        public Boolean getDeleteFlag()
      • setDeleteFlag

        public void setDeleteFlag​(Boolean deleteFlag)
      • isDeleteFlagSpecified

        public boolean isDeleteFlagSpecified()
      • unsetDeleteFlag

        public void unsetDeleteFlag()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getMetric

        public String getMetric()
      • setMetric

        public void setMetric​(String metric)
      • isMetricSpecified

        public boolean isMetricSpecified()
      • unsetMetric

        public void unsetMetric()
      • isModifyDateSpecified

        public boolean isModifyDateSpecified()
      • unsetModifyDate

        public void unsetModifyDate()
      • getOperator

        public String getOperator()
      • setOperator

        public void setOperator​(String operator)
      • isOperatorSpecified

        public boolean isOperatorSpecified()
      • unsetOperator

        public void unsetOperator()
      • getPeriod

        public Long getPeriod()
      • setPeriod

        public void setPeriod​(Long period)
      • isPeriodSpecified

        public boolean isPeriodSpecified()
      • unsetPeriod

        public void unsetPeriod()
      • getScalePolicyTriggerId

        public Long getScalePolicyTriggerId()
      • setScalePolicyTriggerId

        public void setScalePolicyTriggerId​(Long scalePolicyTriggerId)
      • isScalePolicyTriggerIdSpecified

        public boolean isScalePolicyTriggerIdSpecified()
      • unsetScalePolicyTriggerId

        public void unsetScalePolicyTriggerId()
      • getValue

        public String getValue()
      • setValue

        public void setValue​(String value)
      • isValueSpecified

        public boolean isValueSpecified()
      • unsetValue

        public void unsetValue()