public class Distribution extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Distribution() |
Distribution(Distribution 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.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getCount()
Get Number of buckets
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDistributionType()
Get Bucket type:
●Hash: hash bucket
●Random: random number bucket
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCount(Long Count)
Set Number of buckets
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDistributionType(String DistributionType)
Set Bucket type:
●Hash: hash bucket
●Random: random number bucket
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Distribution()
public Distribution(Distribution source)
public String getDistributionType()
public void setDistributionType(String DistributionType)
DistributionType - Bucket type:
●Hash: hash bucket
●Random: random number bucket
Note: This field may return null, indicating that no valid values can be obtained.public Long getCount()
public void setCount(Long Count)
Count - Number of buckets
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.