@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientVpnEndpointAttributeStatus extends Object implements Serializable, Cloneable
Describes the status of the Client VPN endpoint attribute.
Constructor and Description |
---|
ClientVpnEndpointAttributeStatus() |
Modifier and Type | Method and Description |
---|---|
ClientVpnEndpointAttributeStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The status code.
|
String |
getMessage()
The status message.
|
int |
hashCode() |
void |
setCode(String code)
The status code.
|
void |
setMessage(String message)
The status message.
|
String |
toString()
Returns a string representation of this object.
|
ClientVpnEndpointAttributeStatus |
withCode(ClientVpnEndpointAttributeStatusCode code)
The status code.
|
ClientVpnEndpointAttributeStatus |
withCode(String code)
The status code.
|
ClientVpnEndpointAttributeStatus |
withMessage(String message)
The status message.
|
public void setCode(String code)
The status code.
code
- The status code.ClientVpnEndpointAttributeStatusCode
public String getCode()
The status code.
ClientVpnEndpointAttributeStatusCode
public ClientVpnEndpointAttributeStatus withCode(String code)
The status code.
code
- The status code.ClientVpnEndpointAttributeStatusCode
public ClientVpnEndpointAttributeStatus withCode(ClientVpnEndpointAttributeStatusCode code)
The status code.
code
- The status code.ClientVpnEndpointAttributeStatusCode
public void setMessage(String message)
The status message.
message
- The status message.public String getMessage()
The status message.
public ClientVpnEndpointAttributeStatus withMessage(String message)
The status message.
message
- The status message.public String toString()
toString
in class Object
Object.toString()
public ClientVpnEndpointAttributeStatus clone()