@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminateConnectionStatus extends Object implements Serializable, Cloneable
Information about a terminated Client VPN endpoint client connection.
Constructor and Description |
---|
TerminateConnectionStatus() |
Modifier and Type | Method and Description |
---|---|
TerminateConnectionStatus |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionId()
The ID of the client connection.
|
ClientVpnConnectionStatus |
getCurrentStatus()
A message about the status of the client connection, if applicable.
|
ClientVpnConnectionStatus |
getPreviousStatus()
The state of the client connection.
|
int |
hashCode() |
void |
setConnectionId(String connectionId)
The ID of the client connection.
|
void |
setCurrentStatus(ClientVpnConnectionStatus currentStatus)
A message about the status of the client connection, if applicable.
|
void |
setPreviousStatus(ClientVpnConnectionStatus previousStatus)
The state of the client connection.
|
String |
toString()
Returns a string representation of this object.
|
TerminateConnectionStatus |
withConnectionId(String connectionId)
The ID of the client connection.
|
TerminateConnectionStatus |
withCurrentStatus(ClientVpnConnectionStatus currentStatus)
A message about the status of the client connection, if applicable.
|
TerminateConnectionStatus |
withPreviousStatus(ClientVpnConnectionStatus previousStatus)
The state of the client connection.
|
public void setConnectionId(String connectionId)
The ID of the client connection.
connectionId
- The ID of the client connection.public String getConnectionId()
The ID of the client connection.
public TerminateConnectionStatus withConnectionId(String connectionId)
The ID of the client connection.
connectionId
- The ID of the client connection.public void setPreviousStatus(ClientVpnConnectionStatus previousStatus)
The state of the client connection.
previousStatus
- The state of the client connection.public ClientVpnConnectionStatus getPreviousStatus()
The state of the client connection.
public TerminateConnectionStatus withPreviousStatus(ClientVpnConnectionStatus previousStatus)
The state of the client connection.
previousStatus
- The state of the client connection.public void setCurrentStatus(ClientVpnConnectionStatus currentStatus)
A message about the status of the client connection, if applicable.
currentStatus
- A message about the status of the client connection, if applicable.public ClientVpnConnectionStatus getCurrentStatus()
A message about the status of the client connection, if applicable.
public TerminateConnectionStatus withCurrentStatus(ClientVpnConnectionStatus currentStatus)
A message about the status of the client connection, if applicable.
currentStatus
- A message about the status of the client connection, if applicable.public String toString()
toString
in class Object
Object.toString()
public TerminateConnectionStatus clone()