Interface ClientVpnEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClientVpnEndpoint.Builder,
,ClientVpnEndpoint> SdkBuilder<ClientVpnEndpoint.Builder,
,ClientVpnEndpoint> SdkPojo
- Enclosing class:
ClientVpnEndpoint
-
Method Summary
Modifier and TypeMethodDescriptionassociatedTargetNetworks
(Collection<AssociatedTargetNetwork> associatedTargetNetworks) Deprecated.This property is deprecated.associatedTargetNetworks
(Consumer<AssociatedTargetNetwork.Builder>... associatedTargetNetworks) Deprecated.This property is deprecated.associatedTargetNetworks
(AssociatedTargetNetwork... associatedTargetNetworks) Deprecated.This property is deprecated.authenticationOptions
(Collection<ClientVpnAuthentication> authenticationOptions) Information about the authentication method used by the Client VPN endpoint.authenticationOptions
(Consumer<ClientVpnAuthentication.Builder>... authenticationOptions) Information about the authentication method used by the Client VPN endpoint.authenticationOptions
(ClientVpnAuthentication... authenticationOptions) Information about the authentication method used by the Client VPN endpoint.clientCidrBlock
(String clientCidrBlock) The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.default ClientVpnEndpoint.Builder
clientConnectOptions
(Consumer<ClientConnectResponseOptions.Builder> clientConnectOptions) The options for managing connection authorization for new client connections.clientConnectOptions
(ClientConnectResponseOptions clientConnectOptions) The options for managing connection authorization for new client connections.default ClientVpnEndpoint.Builder
clientLoginBannerOptions
(Consumer<ClientLoginBannerResponseOptions.Builder> clientLoginBannerOptions) Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.clientLoginBannerOptions
(ClientLoginBannerResponseOptions clientLoginBannerOptions) Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.clientVpnEndpointId
(String clientVpnEndpointId) The ID of the Client VPN endpoint.default ClientVpnEndpoint.Builder
connectionLogOptions
(Consumer<ConnectionLogResponseOptions.Builder> connectionLogOptions) Information about the client connection logging options for the Client VPN endpoint.connectionLogOptions
(ConnectionLogResponseOptions connectionLogOptions) Information about the client connection logging options for the Client VPN endpoint.creationTime
(String creationTime) The date and time the Client VPN endpoint was created.deletionTime
(String deletionTime) The date and time the Client VPN endpoint was deleted, if applicable.description
(String description) A brief description of the endpoint.The DNS name to be used by clients when connecting to the Client VPN endpoint.dnsServers
(String... dnsServers) Information about the DNS servers to be used for DNS resolution.dnsServers
(Collection<String> dnsServers) Information about the DNS servers to be used for DNS resolution.securityGroupIds
(String... securityGroupIds) The IDs of the security groups for the target network.securityGroupIds
(Collection<String> securityGroupIds) The IDs of the security groups for the target network.selfServicePortalUrl
(String selfServicePortalUrl) The URL of the self-service portal.serverCertificateArn
(String serverCertificateArn) The ARN of the server certificate.sessionTimeoutHours
(Integer sessionTimeoutHours) The maximum VPN session duration time in hours.splitTunnel
(Boolean splitTunnel) Indicates whether split-tunnel is enabled in the Client VPN endpoint.default ClientVpnEndpoint.Builder
The current state of the Client VPN endpoint.status
(ClientVpnEndpointStatus status) The current state of the Client VPN endpoint.tags
(Collection<Tag> tags) Any tags assigned to the Client VPN endpoint.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the Client VPN endpoint.Any tags assigned to the Client VPN endpoint.transportProtocol
(String transportProtocol) The transport protocol used by the Client VPN endpoint.transportProtocol
(TransportProtocol transportProtocol) The transport protocol used by the Client VPN endpoint.The ID of the VPC.The port number for the Client VPN endpoint.vpnProtocol
(String vpnProtocol) The protocol used by the VPN session.vpnProtocol
(VpnProtocol vpnProtocol) The protocol used by the VPN session.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.
- Parameters:
clientVpnEndpointId
- The ID of the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A brief description of the endpoint.
- Parameters:
description
- A brief description of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the Client VPN endpoint.
- Parameters:
status
- The current state of the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the Client VPN endpoint.
This is a convenience method that creates an instance of theClientVpnEndpointStatus.Builder
avoiding the need to create one manually viaClientVpnEndpointStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ClientVpnEndpointStatus)
.- Parameters:
status
- a consumer that will call methods onClientVpnEndpointStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The date and time the Client VPN endpoint was created.
- Parameters:
creationTime
- The date and time the Client VPN endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionTime
The date and time the Client VPN endpoint was deleted, if applicable.
- Parameters:
deletionTime
- The date and time the Client VPN endpoint was deleted, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsName
The DNS name to be used by clients when connecting to the Client VPN endpoint.
- Parameters:
dnsName
- The DNS name to be used by clients when connecting to the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCidrBlock
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
- Parameters:
clientCidrBlock
- The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsServers
Information about the DNS servers to be used for DNS resolution.
- Parameters:
dnsServers
- Information about the DNS servers to be used for DNS resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsServers
Information about the DNS servers to be used for DNS resolution.
- Parameters:
dnsServers
- Information about the DNS servers to be used for DNS resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitTunnel
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
- Parameters:
splitTunnel
- Indicates whether split-tunnel is enabled in the Client VPN endpoint.For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnProtocol
The protocol used by the VPN session.
- Parameters:
vpnProtocol
- The protocol used by the VPN session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpnProtocol
The protocol used by the VPN session.
- Parameters:
vpnProtocol
- The protocol used by the VPN session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transportProtocol
The transport protocol used by the Client VPN endpoint.
- Parameters:
transportProtocol
- The transport protocol used by the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transportProtocol
The transport protocol used by the Client VPN endpoint.
- Parameters:
transportProtocol
- The transport protocol used by the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpnPort
The port number for the Client VPN endpoint.
- Parameters:
vpnPort
- The port number for the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedTargetNetworks
@Deprecated ClientVpnEndpoint.Builder associatedTargetNetworks(Collection<AssociatedTargetNetwork> associatedTargetNetworks) Deprecated.This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.Information about the associated target networks. A target network is a subnet in a VPC.
- Parameters:
associatedTargetNetworks
- Information about the associated target networks. A target network is a subnet in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedTargetNetworks
@Deprecated ClientVpnEndpoint.Builder associatedTargetNetworks(AssociatedTargetNetwork... associatedTargetNetworks) Deprecated.This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.Information about the associated target networks. A target network is a subnet in a VPC.
- Parameters:
associatedTargetNetworks
- Information about the associated target networks. A target network is a subnet in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedTargetNetworks
@Deprecated ClientVpnEndpoint.Builder associatedTargetNetworks(Consumer<AssociatedTargetNetwork.Builder>... associatedTargetNetworks) Deprecated.This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.Information about the associated target networks. A target network is a subnet in a VPC.
This is a convenience method that creates an instance of theAssociatedTargetNetwork.Builder
avoiding the need to create one manually viaAssociatedTargetNetwork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociatedTargetNetworks(List<AssociatedTargetNetwork>)
.- Parameters:
associatedTargetNetworks
- a consumer that will call methods onAssociatedTargetNetwork.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverCertificateArn
The ARN of the server certificate.
- Parameters:
serverCertificateArn
- The ARN of the server certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationOptions
ClientVpnEndpoint.Builder authenticationOptions(Collection<ClientVpnAuthentication> authenticationOptions) Information about the authentication method used by the Client VPN endpoint.
- Parameters:
authenticationOptions
- Information about the authentication method used by the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationOptions
Information about the authentication method used by the Client VPN endpoint.
- Parameters:
authenticationOptions
- Information about the authentication method used by the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationOptions
ClientVpnEndpoint.Builder authenticationOptions(Consumer<ClientVpnAuthentication.Builder>... authenticationOptions) Information about the authentication method used by the Client VPN endpoint.
This is a convenience method that creates an instance of theClientVpnAuthentication.Builder
avoiding the need to create one manually viaClientVpnAuthentication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationOptions(List<ClientVpnAuthentication>)
.- Parameters:
authenticationOptions
- a consumer that will call methods onClientVpnAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionLogOptions
Information about the client connection logging options for the Client VPN endpoint.
- Parameters:
connectionLogOptions
- Information about the client connection logging options for the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionLogOptions
default ClientVpnEndpoint.Builder connectionLogOptions(Consumer<ConnectionLogResponseOptions.Builder> connectionLogOptions) Information about the client connection logging options for the Client VPN endpoint.
This is a convenience method that creates an instance of theConnectionLogResponseOptions.Builder
avoiding the need to create one manually viaConnectionLogResponseOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionLogOptions(ConnectionLogResponseOptions)
.- Parameters:
connectionLogOptions
- a consumer that will call methods onConnectionLogResponseOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags assigned to the Client VPN endpoint.
- Parameters:
tags
- Any tags assigned to the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the Client VPN endpoint.
- Parameters:
tags
- Any tags assigned to the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the Client VPN endpoint.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityGroupIds
The IDs of the security groups for the target network.
- Parameters:
securityGroupIds
- The IDs of the security groups for the target network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of the security groups for the target network.
- Parameters:
securityGroupIds
- The IDs of the security groups for the target network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServicePortalUrl
The URL of the self-service portal.
- Parameters:
selfServicePortalUrl
- The URL of the self-service portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientConnectOptions
The options for managing connection authorization for new client connections.
- Parameters:
clientConnectOptions
- The options for managing connection authorization for new client connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientConnectOptions
default ClientVpnEndpoint.Builder clientConnectOptions(Consumer<ClientConnectResponseOptions.Builder> clientConnectOptions) The options for managing connection authorization for new client connections.
This is a convenience method that creates an instance of theClientConnectResponseOptions.Builder
avoiding the need to create one manually viaClientConnectResponseOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientConnectOptions(ClientConnectResponseOptions)
.- Parameters:
clientConnectOptions
- a consumer that will call methods onClientConnectResponseOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionTimeoutHours
The maximum VPN session duration time in hours.
Valid values:
8 | 10 | 12 | 24
Default value:
24
- Parameters:
sessionTimeoutHours
- The maximum VPN session duration time in hours.Valid values:
8 | 10 | 12 | 24
Default value:
24
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientLoginBannerOptions
ClientVpnEndpoint.Builder clientLoginBannerOptions(ClientLoginBannerResponseOptions clientLoginBannerOptions) Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
- Parameters:
clientLoginBannerOptions
- Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientLoginBannerOptions
default ClientVpnEndpoint.Builder clientLoginBannerOptions(Consumer<ClientLoginBannerResponseOptions.Builder> clientLoginBannerOptions) Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
This is a convenience method that creates an instance of theClientLoginBannerResponseOptions.Builder
avoiding the need to create one manually viaClientLoginBannerResponseOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientLoginBannerOptions(ClientLoginBannerResponseOptions)
.- Parameters:
clientLoginBannerOptions
- a consumer that will call methods onClientLoginBannerResponseOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-