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],暂不支持
      • getPort

        public Long getPort()
        Get 8000 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Port 8000 注意:此字段可能返回 null,表示取不到有效值。
      • setPort

        public void setPort​(Long Port)
        Set 8000 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Port - 8000 注意:此字段可能返回 null,表示取不到有效值。
      • getBackup

        public Long getBackup()
        Get 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Backup 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。
      • setBackup

        public void setBackup​(Long Backup)
        Set 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Backup - 备份源站,1: 备份源站,0: 普通源站 注意:此字段可能返回 null,表示取不到有效值。