Class TargetAttribute

    • Constructor Detail

      • TargetAttribute

        public TargetAttribute()
      • TargetAttribute

        public TargetAttribute​(TargetAttribute 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

      • getPort

        public Long getPort()
        Get 端口
        Returns:
        Port 端口
      • setPort

        public void setPort​(Long Port)
        Set 端口
        Parameters:
        Port - 端口
      • getWeight

        public Long getWeight()
        Get 权重
        Returns:
        Weight 权重
      • setWeight

        public void setWeight​(Long Weight)
        Set 权重
        Parameters:
        Weight - 权重