@Generated(value="software.amazon.awssdk:codegen") public final class ClientVpnConnection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClientVpnConnection.Builder,ClientVpnConnection>
Describes a client connection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClientVpnConnection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClientVpnConnection.Builder |
builder() |
String |
clientIp()
The IP address of the client.
|
String |
clientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
|
String |
commonName()
The common name associated with the client.
|
String |
connectionEndTime()
The date and time the client connection was terminated.
|
String |
connectionEstablishedTime()
The date and time the client connection was established.
|
String |
connectionId()
The ID of the client connection.
|
String |
egressBytes()
The number of bytes received by the client.
|
String |
egressPackets()
The number of packets received by the client.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ingressBytes()
The number of bytes sent by the client.
|
String |
ingressPackets()
The number of packets sent by the client.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClientVpnConnection.Builder> |
serializableBuilderClass() |
ClientVpnConnectionStatus |
status()
The current state of the client connection.
|
String |
timestamp()
The current date and time.
|
ClientVpnConnection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The username of the client who established the client connection.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String clientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
public String timestamp()
The current date and time.
public String connectionId()
The ID of the client connection.
public String 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 connectionEstablishedTime()
The date and time the client connection was established.
public String ingressBytes()
The number of bytes sent by the client.
public String egressBytes()
The number of bytes received by the client.
public String ingressPackets()
The number of packets sent by the client.
public String egressPackets()
The number of packets received by the client.
public String clientIp()
The IP address of the client.
public String commonName()
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
public ClientVpnConnectionStatus status()
The current state of the client connection.
public String connectionEndTime()
The date and time the client connection was terminated.
public ClientVpnConnection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ClientVpnConnection.Builder,ClientVpnConnection>public static ClientVpnConnection.Builder builder()
public static Class<? extends ClientVpnConnection.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.