Class COSDataRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dsgc.v20190723.models.COSDataRule
-
public class COSDataRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description COSDataRule()COSDataRule(COSDataRule 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataContent[]getContents()Get 规则内容StringgetOperator()Get 只能取and 、or两个值其中之一,and:字段和内容同时满足,or:字段和内容满足其一.voidsetContents(DataContent[] Contents)Set 规则内容voidsetOperator(String Operator)Set 只能取and 、or两个值其中之一,and:字段和内容同时满足,or:字段和内容满足其一.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
-
COSDataRule
public COSDataRule()
-
COSDataRule
public COSDataRule(COSDataRule 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
-
getOperator
public String getOperator()
Get 只能取and 、or两个值其中之一,and:字段和内容同时满足,or:字段和内容满足其一. 默认值为or- Returns:
- Operator 只能取and 、or两个值其中之一,and:字段和内容同时满足,or:字段和内容满足其一. 默认值为or
-
setOperator
public void setOperator(String Operator)
Set 只能取and 、or两个值其中之一,and:字段和内容同时满足,or:字段和内容满足其一. 默认值为or- Parameters:
Operator- 只能取and 、or两个值其中之一,and:字段和内容同时满足,or:字段和内容满足其一. 默认值为or
-
getContents
public DataContent[] getContents()
Get 规则内容- Returns:
- Contents 规则内容
-
setContents
public void setContents(DataContent[] Contents)
Set 规则内容- Parameters:
Contents- 规则内容
-
-