public static class UpdateFirewallParam.Rule extends Object
| 构造器和说明 |
|---|
Rule(@NotEmpty(message="protocol can not be empty") String protocol,
@NotNull(message="port can not be null") Integer port,
@NotEmpty(message="ip can not be empty") String ip,
@NotEmpty(message="acceptOrNot can not be empty") String acceptOrNot,
@NotEmpty(message="priority can not be empty") String priority) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAcceptOrNot() |
String |
getIp() |
Integer |
getPort() |
String |
getPriority() |
String |
getProtocol() |
@NotEmpty(message="rule can not be empty") String |
getRule() |
void |
setAcceptOrNot(String acceptOrNot) |
void |
setIp(String ip) |
void |
setPort(Integer port) |
void |
setPriority(String priority) |
void |
setProtocol(String protocol) |
public Rule(@NotEmpty(message="protocol can not be empty")
@NotEmpty(message="protocol can not be empty") String protocol,
@NotNull(message="port can not be null")
@NotNull(message="port can not be null") Integer port,
@NotEmpty(message="ip can not be empty")
@NotEmpty(message="ip can not be empty") String ip,
@NotEmpty(message="acceptOrNot can not be empty")
@NotEmpty(message="acceptOrNot can not be empty") String acceptOrNot,
@NotEmpty(message="priority can not be empty")
@NotEmpty(message="priority can not be empty") String priority)
@NotEmpty(message="rule can not be empty") public @NotEmpty(message="rule can not be empty") String getRule()
public String getProtocol()
public void setProtocol(String protocol)
public Integer getPort()
public void setPort(Integer port)
public String getIp()
public void setIp(String ip)
public String getAcceptOrNot()
public void setAcceptOrNot(String acceptOrNot)
public String getPriority()
public void setPriority(String priority)
Copyright © 2019. All rights reserved.