public class CreateCfsRuleRequest extends AbstractModel
Constructor and Description |
---|
CreateCfsRuleRequest() |
CreateCfsRuleRequest(CreateCfsRuleRequest 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 |
getAuthClientIp()
Get You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24.
|
String |
getPGroupId()
Get Permission group ID
|
Long |
getPriority()
Get Rule priority.
|
String |
getRWPermission()
Get Read/write permission.
|
String |
getUserPermission()
Get User permission.
|
void |
setAuthClientIp(String AuthClientIp)
Set You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24.
|
void |
setPGroupId(String PGroupId)
Set Permission group ID
|
void |
setPriority(Long Priority)
Set Rule priority.
|
void |
setRWPermission(String RWPermission)
Set Read/write permission.
|
void |
setUserPermission(String UserPermission)
Set User permission.
|
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 CreateCfsRuleRequest()
public CreateCfsRuleRequest(CreateCfsRuleRequest source)
public String getPGroupId()
public void setPGroupId(String PGroupId)
PGroupId
- Permission group IDpublic String getAuthClientIp()
public void setAuthClientIp(String AuthClientIp)
AuthClientIp
- You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here.public Long getPriority()
public void setPriority(Long Priority)
Priority
- Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowestpublic String getRWPermission()
public void setRWPermission(String RWPermission)
RWPermission
- Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: ROpublic String getUserPermission()
public void setUserPermission(String UserPermission)
UserPermission
- User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash.Copyright © 2023. All rights reserved.