public class AclRuleInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
AclRuleInfo()  | 
AclRuleInfo(AclRuleInfo 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 | 
getHost()
Get The default value is `*`, which means that any host can access the topic. 
 | 
String | 
getOperation()
Get ACL operation types. 
 | 
String | 
getPermissionType()
Get Permission types: `Deny`, `Allow`. 
 | 
String | 
getPrincipal()
Get The list of users allowed to access the topic. 
 | 
void | 
setHost(String Host)
Set The default value is `*`, which means that any host can access the topic. 
 | 
void | 
setOperation(String Operation)
Set ACL operation types. 
 | 
void | 
setPermissionType(String PermissionType)
Set Permission types: `Deny`, `Allow`. 
 | 
void | 
setPrincipal(String Principal)
Set The list of users allowed to access the topic. 
 | 
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 AclRuleInfo()
public AclRuleInfo(AclRuleInfo source)
public String getOperation()
public void setOperation(String Operation)
Operation - ACL operation types. Enumerated values: `All` (all operations), `Read` (read), `Write` (write).public String getPermissionType()
public void setPermissionType(String PermissionType)
PermissionType - Permission types: `Deny`, `Allow`.public String getHost()
public void setHost(String Host)
Host - The default value is `*`, which means that any host can access the topic. CKafka currently does not support specifying a host value of * or an IP range.public String getPrincipal()
public void setPrincipal(String Principal)
Principal - The list of users allowed to access the topic. Default value: `User:*`, which means all users. The current user must be in the user list. Add the prefix `User:` before the user name (`User:A`, for example).Copyright © 2025. All rights reserved.