Interface ClientVpnConnection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClientVpnConnection.Builder,
,ClientVpnConnection> SdkBuilder<ClientVpnConnection.Builder,
,ClientVpnConnection> SdkPojo
- Enclosing class:
ClientVpnConnection
-
Method Summary
Modifier and TypeMethodDescriptionThe IP address of the client.clientVpnEndpointId
(String clientVpnEndpointId) The ID of the Client VPN endpoint to which the client is connected.commonName
(String commonName) The common name associated with the client.connectionEndTime
(String connectionEndTime) The date and time the client connection was terminated.connectionEstablishedTime
(String connectionEstablishedTime) The date and time the client connection was established.connectionId
(String connectionId) The ID of the client connection.egressBytes
(String egressBytes) The number of bytes received by the client.egressPackets
(String egressPackets) The number of packets received by the client.ingressBytes
(String ingressBytes) The number of bytes sent by the client.ingressPackets
(String ingressPackets) The number of packets sent by the client.postureComplianceStatuses
(String... postureComplianceStatuses) The statuses returned by the client connect handler for posture compliance, if applicable.postureComplianceStatuses
(Collection<String> postureComplianceStatuses) The statuses returned by the client connect handler for posture compliance, if applicable.default ClientVpnConnection.Builder
The current state of the client connection.status
(ClientVpnConnectionStatus status) The current state of the client connection.The current date and time.The username of the client who established the client connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientVpnEndpointId
The ID of the Client VPN endpoint to which the client is connected.
- Parameters:
clientVpnEndpointId
- The ID of the Client VPN endpoint to which the client is connected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The current date and time.
- Parameters:
timestamp
- The current date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionId
The ID of the client connection.
- Parameters:
connectionId
- The ID of the client connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
- Parameters:
username
- The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionEstablishedTime
The date and time the client connection was established.
- Parameters:
connectionEstablishedTime
- The date and time the client connection was established.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressBytes
The number of bytes sent by the client.
- Parameters:
ingressBytes
- The number of bytes sent by the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressBytes
The number of bytes received by the client.
- Parameters:
egressBytes
- The number of bytes received by the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressPackets
The number of packets sent by the client.
- Parameters:
ingressPackets
- The number of packets sent by the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressPackets
The number of packets received by the client.
- Parameters:
egressPackets
- The number of packets received by the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientIp
The IP address of the client.
- Parameters:
clientIp
- The IP address of the client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commonName
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
- Parameters:
commonName
- The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the client connection.
- Parameters:
status
- The current state of the client connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the client connection.
This is a convenience method that creates an instance of theClientVpnConnectionStatus.Builder
avoiding the need to create one manually viaClientVpnConnectionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ClientVpnConnectionStatus)
.- Parameters:
status
- a consumer that will call methods onClientVpnConnectionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionEndTime
The date and time the client connection was terminated.
- Parameters:
connectionEndTime
- The date and time the client connection was terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postureComplianceStatuses
The statuses returned by the client connect handler for posture compliance, if applicable.
- Parameters:
postureComplianceStatuses
- The statuses returned by the client connect handler for posture compliance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postureComplianceStatuses
The statuses returned by the client connect handler for posture compliance, if applicable.
- Parameters:
postureComplianceStatuses
- The statuses returned by the client connect handler for posture compliance, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-