Class Rule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.Rule
-
public class Rule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetLessThan()Get 划分上限 注意:此字段可能返回 null,表示取不到有效值。LonggetWeight()Get 权重 注意:此字段可能返回 null,表示取不到有效值。voidsetLessThan(Long LessThan)Set 划分上限 注意:此字段可能返回 null,表示取不到有效值。voidsetWeight(Long Weight)Set 权重 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Rule
public Rule()
-
Rule
public Rule(Rule 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
-
getLessThan
public Long getLessThan()
Get 划分上限 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LessThan 划分上限 注意:此字段可能返回 null,表示取不到有效值。
-
setLessThan
public void setLessThan(Long LessThan)
Set 划分上限 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LessThan- 划分上限 注意:此字段可能返回 null,表示取不到有效值。
-
getWeight
public Long getWeight()
Get 权重 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Weight 权重 注意:此字段可能返回 null,表示取不到有效值。
-
setWeight
public void setWeight(Long Weight)
Set 权重 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Weight- 权重 注意:此字段可能返回 null,表示取不到有效值。
-
-