public class CreateRuleRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreateRuleRequest() |
CreateRuleRequest(CreateRuleRequest 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 |
|---|---|
String |
getDescription()
Get Event bus description, which can contain up to 200 characters of any type
|
Boolean |
getEnable()
Get Switch.
|
String |
getEventBusId()
Get Event bus ID.
|
String |
getEventPattern()
Get See [Event Pattern](https://intl.cloud.tencent.com/document/product/1359/56084?from_cn_redirect=1)
|
String |
getRuleName()
Get Event bus name, which can contain 2–60 letters, digits, underscores, and hyphens and must start with a letter and end with a digit or letter
|
void |
setDescription(String Description)
Set Event bus description, which can contain up to 200 characters of any type
|
void |
setEnable(Boolean Enable)
Set Switch.
|
void |
setEventBusId(String EventBusId)
Set Event bus ID.
|
void |
setEventPattern(String EventPattern)
Set See [Event Pattern](https://intl.cloud.tencent.com/document/product/1359/56084?from_cn_redirect=1)
|
void |
setRuleName(String RuleName)
Set Event bus name, which can contain 2–60 letters, digits, underscores, and hyphens and must start with a letter and end with a digit or letter
|
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 CreateRuleRequest()
public CreateRuleRequest(CreateRuleRequest source)
public String getEventPattern()
public void setEventPattern(String EventPattern)
EventPattern - See [Event Pattern](https://intl.cloud.tencent.com/document/product/1359/56084?from_cn_redirect=1)public String getEventBusId()
public void setEventBusId(String EventBusId)
EventBusId - Event bus ID.public String getRuleName()
public void setRuleName(String RuleName)
RuleName - Event bus name, which can contain 2–60 letters, digits, underscores, and hyphens and must start with a letter and end with a digit or letterpublic Boolean getEnable()
public void setEnable(Boolean Enable)
Enable - Switch.public String getDescription()
public void setDescription(String Description)
Description - Event bus description, which can contain up to 200 characters of any typeCopyright © 2025. All rights reserved.