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