public class UpdateFirewallParam extends BaseRequestParam
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UpdateFirewallParam.Rule |
action, projectId, publicKey, signature| 构造器和说明 |
|---|
UpdateFirewallParam(@NotEmpty(message="region can not be empty") String region,
@NotEmpty(message="fwId can not be empty") String fwId,
@NotNull(message="rule can not be empty") List<UpdateFirewallParam.Rule> rule) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Param> |
checkFirewallRule() |
String |
getFwId() |
String |
getRegion() |
List<UpdateFirewallParam.Rule> |
getRule() |
void |
setFwId(String fwId) |
void |
setRegion(String region) |
void |
setRule(List<UpdateFirewallParam.Rule> rule) |
getAction, getProjectId, getPublicKey, getSignature, setAction, setProjectId, setPublicKey, setSignaturepublic UpdateFirewallParam(@NotEmpty(message="region can not be empty")
@NotEmpty(message="region can not be empty") String region,
@NotEmpty(message="fwId can not be empty")
@NotEmpty(message="fwId can not be empty") String fwId,
@NotNull(message="rule can not be empty")
@NotNull(message="rule can not be empty") List<UpdateFirewallParam.Rule> rule)
public List<Param> checkFirewallRule() throws ValidatorException
public String getRegion()
public void setRegion(String region)
public String getFwId()
public void setFwId(String fwId)
public List<UpdateFirewallParam.Rule> getRule()
public void setRule(List<UpdateFirewallParam.Rule> rule)
Copyright © 2020. All rights reserved.