@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() |
boolean |
hasPostureComplianceStatuses()
Returns true if the PostureComplianceStatuses property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
String |
ingressBytes()
The number of bytes sent by the client.
|
String |
ingressPackets()
The number of packets sent by the client.
|
List<String> |
postureComplianceStatuses()
The statuses returned by the client connect handler for posture compliance, if applicable.
|
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, wait
copy
public final String clientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
public final String timestamp()
The current date and time.
public final String connectionId()
The ID of the client connection.
public final 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 final String connectionEstablishedTime()
The date and time the client connection was established.
public final String ingressBytes()
The number of bytes sent by the client.
public final String egressBytes()
The number of bytes received by the client.
public final String ingressPackets()
The number of packets sent by the client.
public final String egressPackets()
The number of packets received by the client.
public final String clientIp()
The IP address of the client.
public final 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 final ClientVpnConnectionStatus status()
The current state of the client connection.
public final String connectionEndTime()
The date and time the client connection was terminated.
public final boolean hasPostureComplianceStatuses()
public final List<String> postureComplianceStatuses()
The statuses returned by the client connect handler for posture compliance, if applicable.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPostureComplianceStatuses()
to see if a value was sent in this field.
public ClientVpnConnection.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ClientVpnConnection.Builder,ClientVpnConnection>
public static ClientVpnConnection.Builder builder()
public static Class<? extends ClientVpnConnection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.