public static interface ClientVpnConnection.Builder extends SdkPojo, CopyableBuilder<ClientVpnConnection.Builder,ClientVpnConnection>
Modifier and Type | Method and Description |
---|---|
ClientVpnConnection.Builder |
clientIp(String clientIp)
The IP address of the client.
|
ClientVpnConnection.Builder |
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
|
ClientVpnConnection.Builder |
commonName(String commonName)
The common name associated with the client.
|
ClientVpnConnection.Builder |
connectionEndTime(String connectionEndTime)
The date and time the client connection was terminated.
|
ClientVpnConnection.Builder |
connectionEstablishedTime(String connectionEstablishedTime)
The date and time the client connection was established.
|
ClientVpnConnection.Builder |
connectionId(String connectionId)
The ID of the client connection.
|
ClientVpnConnection.Builder |
egressBytes(String egressBytes)
The number of bytes received by the client.
|
ClientVpnConnection.Builder |
egressPackets(String egressPackets)
The number of packets received by the client.
|
ClientVpnConnection.Builder |
ingressBytes(String ingressBytes)
The number of bytes sent by the client.
|
ClientVpnConnection.Builder |
ingressPackets(String ingressPackets)
The number of packets sent by the client.
|
ClientVpnConnection.Builder |
status(ClientVpnConnectionStatus status)
The current state of the client connection.
|
default ClientVpnConnection.Builder |
status(Consumer<ClientVpnConnectionStatus.Builder> status)
The current state of the client connection.
|
ClientVpnConnection.Builder |
timestamp(String timestamp)
The current date and time.
|
ClientVpnConnection.Builder |
username(String username)
The username of the client who established the client connection.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ClientVpnConnection.Builder clientVpnEndpointId(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.ClientVpnConnection.Builder timestamp(String timestamp)
The current date and time.
timestamp
- The current date and time.ClientVpnConnection.Builder connectionId(String connectionId)
The ID of the client connection.
connectionId
- The ID of the client connection.ClientVpnConnection.Builder username(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.ClientVpnConnection.Builder connectionEstablishedTime(String connectionEstablishedTime)
The date and time the client connection was established.
connectionEstablishedTime
- The date and time the client connection was established.ClientVpnConnection.Builder ingressBytes(String ingressBytes)
The number of bytes sent by the client.
ingressBytes
- The number of bytes sent by the client.ClientVpnConnection.Builder egressBytes(String egressBytes)
The number of bytes received by the client.
egressBytes
- The number of bytes received by the client.ClientVpnConnection.Builder ingressPackets(String ingressPackets)
The number of packets sent by the client.
ingressPackets
- The number of packets sent by the client.ClientVpnConnection.Builder egressPackets(String egressPackets)
The number of packets received by the client.
egressPackets
- The number of packets received by the client.ClientVpnConnection.Builder clientIp(String clientIp)
The IP address of the client.
clientIp
- The IP address of the client.ClientVpnConnection.Builder commonName(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.ClientVpnConnection.Builder status(ClientVpnConnectionStatus status)
The current state of the client connection.
status
- The current state of the client connection.default ClientVpnConnection.Builder status(Consumer<ClientVpnConnectionStatus.Builder> status)
The current state of the client connection.
This is a convenience that creates an instance of theClientVpnConnectionStatus.Builder
avoiding the
need to create one manually via ClientVpnConnectionStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to status(ClientVpnConnectionStatus)
.status
- a consumer that will call methods on ClientVpnConnectionStatus.Builder
status(ClientVpnConnectionStatus)
ClientVpnConnection.Builder connectionEndTime(String connectionEndTime)
The date and time the client connection was terminated.
connectionEndTime
- The date and time the client connection was terminated.Copyright © 2020. All rights reserved.