public class CreateAclRuleRequest extends AbstractModel
Constructor and Description |
---|
CreateAclRuleRequest() |
CreateAclRuleRequest(CreateAclRuleRequest 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 |
getComment()
Get Remarks for ACL rules
|
String |
getInstanceId()
Get Instance ID
|
Long |
getIsApplied()
Get A parameter used to specify whether the preset ACL rule is applied to new topics
|
String |
getPattern()
Get Prefix value for prefix match
|
String |
getPatternType()
Get Matching type.
|
String |
getResourceType()
Get ACL resource type.
|
AclRuleInfo[] |
getRuleList()
Get ACL rule list
|
String |
getRuleName()
Get Rule name
|
void |
setComment(String Comment)
Set Remarks for ACL rules
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setIsApplied(Long IsApplied)
Set A parameter used to specify whether the preset ACL rule is applied to new topics
|
void |
setPattern(String Pattern)
Set Prefix value for prefix match
|
void |
setPatternType(String PatternType)
Set Matching type.
|
void |
setResourceType(String ResourceType)
Set ACL resource type.
|
void |
setRuleList(AclRuleInfo[] RuleList)
Set ACL rule list
|
void |
setRuleName(String RuleName)
Set Rule name
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateAclRuleRequest()
public CreateAclRuleRequest(CreateAclRuleRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getResourceType()
public void setResourceType(String ResourceType)
ResourceType
- ACL resource type. Currently, the only valid value is `Topic`.public String getPatternType()
public void setPatternType(String PatternType)
PatternType
- Matching type. Valid values: `PREFIXED`(match by prefix), `PRESET` (match by preset policy).public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- Rule namepublic AclRuleInfo[] getRuleList()
public void setRuleList(AclRuleInfo[] RuleList)
RuleList
- ACL rule listpublic String getPattern()
public void setPattern(String Pattern)
Pattern
- Prefix value for prefix matchpublic Long getIsApplied()
public void setIsApplied(Long IsApplied)
IsApplied
- A parameter used to specify whether the preset ACL rule is applied to new topicspublic String getComment()
public void setComment(String Comment)
Comment
- Remarks for ACL rulesCopyright © 2023. All rights reserved.