@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientVpnAuthorizationRuleStatus extends Object implements Serializable, Cloneable
Describes the state of an authorization rule.
Constructor and Description |
---|
ClientVpnAuthorizationRuleStatus() |
Modifier and Type | Method and Description |
---|---|
ClientVpnAuthorizationRuleStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The state of the authorization rule.
|
String |
getMessage()
A message about the status of the authorization rule, if applicable.
|
int |
hashCode() |
void |
setCode(String code)
The state of the authorization rule.
|
void |
setMessage(String message)
A message about the status of the authorization rule, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
ClientVpnAuthorizationRuleStatus |
withCode(ClientVpnAuthorizationRuleStatusCode code)
The state of the authorization rule.
|
ClientVpnAuthorizationRuleStatus |
withCode(String code)
The state of the authorization rule.
|
ClientVpnAuthorizationRuleStatus |
withMessage(String message)
A message about the status of the authorization rule, if applicable.
|
public void setCode(String code)
The state of the authorization rule.
code
- The state of the authorization rule.ClientVpnAuthorizationRuleStatusCode
public String getCode()
The state of the authorization rule.
ClientVpnAuthorizationRuleStatusCode
public ClientVpnAuthorizationRuleStatus withCode(String code)
The state of the authorization rule.
code
- The state of the authorization rule.ClientVpnAuthorizationRuleStatusCode
public ClientVpnAuthorizationRuleStatus withCode(ClientVpnAuthorizationRuleStatusCode code)
The state of the authorization rule.
code
- The state of the authorization rule.ClientVpnAuthorizationRuleStatusCode
public void setMessage(String message)
A message about the status of the authorization rule, if applicable.
message
- A message about the status of the authorization rule, if applicable.public String getMessage()
A message about the status of the authorization rule, if applicable.
public ClientVpnAuthorizationRuleStatus withMessage(String message)
A message about the status of the authorization rule, if applicable.
message
- A message about the status of the authorization rule, if applicable.public String toString()
toString
in class Object
Object.toString()
public ClientVpnAuthorizationRuleStatus clone()