@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientVpnConnection extends Object implements Serializable, Cloneable
Describes a client connection.
Constructor and Description |
---|
ClientVpnConnection() |
Modifier and Type | Method and Description |
---|---|
ClientVpnConnection |
clone() |
boolean |
equals(Object obj) |
String |
getClientIp()
The IP address of the client.
|
String |
getClientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
|
String |
getCommonName()
The common name associated with the client.
|
String |
getConnectionEndTime()
The date and time the client connection was terminated.
|
String |
getConnectionEstablishedTime()
The date and time the client connection was established.
|
String |
getConnectionId()
The ID of the client connection.
|
String |
getEgressBytes()
The number of bytes received by the client.
|
String |
getEgressPackets()
The number of packets received by the client.
|
String |
getIngressBytes()
The number of bytes sent by the client.
|
String |
getIngressPackets()
The number of packets sent by the client.
|
List<String> |
getPostureComplianceStatuses()
The statuses returned by the client connect handler for posture compliance, if applicable.
|
ClientVpnConnectionStatus |
getStatus()
The current state of the client connection.
|
String |
getTimestamp()
The current date and time.
|
String |
getUsername()
The username of the client who established the client connection.
|
int |
hashCode() |
void |
setClientIp(String clientIp)
The IP address of the client.
|
void |
setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
|
void |
setCommonName(String commonName)
The common name associated with the client.
|
void |
setConnectionEndTime(String connectionEndTime)
The date and time the client connection was terminated.
|
void |
setConnectionEstablishedTime(String connectionEstablishedTime)
The date and time the client connection was established.
|
void |
setConnectionId(String connectionId)
The ID of the client connection.
|
void |
setEgressBytes(String egressBytes)
The number of bytes received by the client.
|
void |
setEgressPackets(String egressPackets)
The number of packets received by the client.
|
void |
setIngressBytes(String ingressBytes)
The number of bytes sent by the client.
|
void |
setIngressPackets(String ingressPackets)
The number of packets sent by the client.
|
void |
setPostureComplianceStatuses(Collection<String> postureComplianceStatuses)
The statuses returned by the client connect handler for posture compliance, if applicable.
|
void |
setStatus(ClientVpnConnectionStatus status)
The current state of the client connection.
|
void |
setTimestamp(String timestamp)
The current date and time.
|
void |
setUsername(String username)
The username of the client who established the client connection.
|
String |
toString()
Returns a string representation of this object.
|
ClientVpnConnection |
withClientIp(String clientIp)
The IP address of the client.
|
ClientVpnConnection |
withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
|
ClientVpnConnection |
withCommonName(String commonName)
The common name associated with the client.
|
ClientVpnConnection |
withConnectionEndTime(String connectionEndTime)
The date and time the client connection was terminated.
|
ClientVpnConnection |
withConnectionEstablishedTime(String connectionEstablishedTime)
The date and time the client connection was established.
|
ClientVpnConnection |
withConnectionId(String connectionId)
The ID of the client connection.
|
ClientVpnConnection |
withEgressBytes(String egressBytes)
The number of bytes received by the client.
|
ClientVpnConnection |
withEgressPackets(String egressPackets)
The number of packets received by the client.
|
ClientVpnConnection |
withIngressBytes(String ingressBytes)
The number of bytes sent by the client.
|
ClientVpnConnection |
withIngressPackets(String ingressPackets)
The number of packets sent by the client.
|
ClientVpnConnection |
withPostureComplianceStatuses(Collection<String> postureComplianceStatuses)
The statuses returned by the client connect handler for posture compliance, if applicable.
|
ClientVpnConnection |
withPostureComplianceStatuses(String... postureComplianceStatuses)
The statuses returned by the client connect handler for posture compliance, if applicable.
|
ClientVpnConnection |
withStatus(ClientVpnConnectionStatus status)
The current state of the client connection.
|
ClientVpnConnection |
withTimestamp(String timestamp)
The current date and time.
|
ClientVpnConnection |
withUsername(String username)
The username of the client who established the client connection.
|
public void setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which the client is connected.public String getClientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
public ClientVpnConnection withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which the client is connected.public void setTimestamp(String timestamp)
The current date and time.
timestamp
- The current date and time.public String getTimestamp()
The current date and time.
public ClientVpnConnection withTimestamp(String timestamp)
The current date and time.
timestamp
- The current date and time.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 ClientVpnConnection withConnectionId(String connectionId)
The ID of the client connection.
connectionId
- The ID of the client connection.public void setUsername(String username)
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
username
- The username of the client who established the client connection. This information is only provided if
Active Directory client authentication is used.public String getUsername()
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
public ClientVpnConnection withUsername(String username)
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
username
- The username of the client who established the client connection. This information is only provided if
Active Directory client authentication is used.public void setConnectionEstablishedTime(String connectionEstablishedTime)
The date and time the client connection was established.
connectionEstablishedTime
- The date and time the client connection was established.public String getConnectionEstablishedTime()
The date and time the client connection was established.
public ClientVpnConnection withConnectionEstablishedTime(String connectionEstablishedTime)
The date and time the client connection was established.
connectionEstablishedTime
- The date and time the client connection was established.public void setIngressBytes(String ingressBytes)
The number of bytes sent by the client.
ingressBytes
- The number of bytes sent by the client.public String getIngressBytes()
The number of bytes sent by the client.
public ClientVpnConnection withIngressBytes(String ingressBytes)
The number of bytes sent by the client.
ingressBytes
- The number of bytes sent by the client.public void setEgressBytes(String egressBytes)
The number of bytes received by the client.
egressBytes
- The number of bytes received by the client.public String getEgressBytes()
The number of bytes received by the client.
public ClientVpnConnection withEgressBytes(String egressBytes)
The number of bytes received by the client.
egressBytes
- The number of bytes received by the client.public void setIngressPackets(String ingressPackets)
The number of packets sent by the client.
ingressPackets
- The number of packets sent by the client.public String getIngressPackets()
The number of packets sent by the client.
public ClientVpnConnection withIngressPackets(String ingressPackets)
The number of packets sent by the client.
ingressPackets
- The number of packets sent by the client.public void setEgressPackets(String egressPackets)
The number of packets received by the client.
egressPackets
- The number of packets received by the client.public String getEgressPackets()
The number of packets received by the client.
public ClientVpnConnection withEgressPackets(String egressPackets)
The number of packets received by the client.
egressPackets
- The number of packets received by the client.public void setClientIp(String clientIp)
The IP address of the client.
clientIp
- The IP address of the client.public String getClientIp()
The IP address of the client.
public ClientVpnConnection withClientIp(String clientIp)
The IP address of the client.
clientIp
- The IP address of the client.public void setCommonName(String commonName)
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
commonName
- The common name associated with the client. This is either the name of the client certificate, or the
Active Directory user name.public String getCommonName()
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
public ClientVpnConnection withCommonName(String commonName)
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
commonName
- The common name associated with the client. This is either the name of the client certificate, or the
Active Directory user name.public void setStatus(ClientVpnConnectionStatus status)
The current state of the client connection.
status
- The current state of the client connection.public ClientVpnConnectionStatus getStatus()
The current state of the client connection.
public ClientVpnConnection withStatus(ClientVpnConnectionStatus status)
The current state of the client connection.
status
- The current state of the client connection.public void setConnectionEndTime(String connectionEndTime)
The date and time the client connection was terminated.
connectionEndTime
- The date and time the client connection was terminated.public String getConnectionEndTime()
The date and time the client connection was terminated.
public ClientVpnConnection withConnectionEndTime(String connectionEndTime)
The date and time the client connection was terminated.
connectionEndTime
- The date and time the client connection was terminated.public List<String> getPostureComplianceStatuses()
The statuses returned by the client connect handler for posture compliance, if applicable.
public void setPostureComplianceStatuses(Collection<String> postureComplianceStatuses)
The statuses returned by the client connect handler for posture compliance, if applicable.
postureComplianceStatuses
- The statuses returned by the client connect handler for posture compliance, if applicable.public ClientVpnConnection withPostureComplianceStatuses(String... postureComplianceStatuses)
The statuses returned by the client connect handler for posture compliance, if applicable.
NOTE: This method appends the values to the existing list (if any). Use
setPostureComplianceStatuses(java.util.Collection)
or
withPostureComplianceStatuses(java.util.Collection)
if you want to override the existing values.
postureComplianceStatuses
- The statuses returned by the client connect handler for posture compliance, if applicable.public ClientVpnConnection withPostureComplianceStatuses(Collection<String> postureComplianceStatuses)
The statuses returned by the client connect handler for posture compliance, if applicable.
postureComplianceStatuses
- The statuses returned by the client connect handler for posture compliance, if applicable.public String toString()
toString
in class Object
Object.toString()
public ClientVpnConnection clone()