@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.ClientVpnConnectionStatusCode
public String getCode()
The state of the client connection.
ClientVpnConnectionStatusCode
public ClientVpnConnectionStatus withCode(String code)
The state of the client connection.
code
- The state of the client connection.ClientVpnConnectionStatusCode
public ClientVpnConnectionStatus withCode(ClientVpnConnectionStatusCode code)
The state of the client connection.
code
- The state of the client connection.ClientVpnConnectionStatusCode
public 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 Object
Object.toString()
public ClientVpnConnectionStatus clone()