Class L4RuleSource

    • Constructor Detail

      • L4RuleSource

        public L4RuleSource()
      • L4RuleSource

        public L4RuleSource​(L4RuleSource source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getSource

        public String getSource()
        Get 回源IP或域名
        Returns:
        Source 回源IP或域名
      • setSource

        public void setSource​(String Source)
        Set 回源IP或域名
        Parameters:
        Source - 回源IP或域名
      • getWeight

        public Long getWeight()
        Get 权重值,取值[0,100]
        Returns:
        Weight 权重值,取值[0,100]
      • setWeight

        public void setWeight​(Long Weight)
        Set 权重值,取值[0,100]
        Parameters:
        Weight - 权重值,取值[0,100]