Interface ModifyClientVpnEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyClientVpnEndpointRequest.Builder,,ModifyClientVpnEndpointRequest> Ec2Request.Builder,SdkBuilder<ModifyClientVpnEndpointRequest.Builder,,ModifyClientVpnEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyClientVpnEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientConnectOptions(Consumer<ClientConnectOptions.Builder> clientConnectOptions) The options for managing connection authorization for new client connections.clientConnectOptions(ClientConnectOptions clientConnectOptions) The options for managing connection authorization for new client connections.clientLoginBannerOptions(Consumer<ClientLoginBannerOptions.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(ClientLoginBannerOptions clientLoginBannerOptions) Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.clientRouteEnforcementOptions(Consumer<ClientRouteEnforcementOptions.Builder> clientRouteEnforcementOptions) Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN.clientRouteEnforcementOptions(ClientRouteEnforcementOptions clientRouteEnforcementOptions) Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN.clientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint to modify.connectionLogOptions(Consumer<ConnectionLogOptions.Builder> connectionLogOptions) Information about the client connection logging options.connectionLogOptions(ConnectionLogOptions connectionLogOptions) Information about the client connection logging options.description(String description) A brief description of the Client VPN endpoint.disconnectOnSessionTimeout(Boolean disconnectOnSessionTimeout) Indicates whether the client VPN session is disconnected after the maximum timeout specified insessionTimeoutHoursis reached.dnsServers(Consumer<DnsServersOptionsModifyStructure.Builder> dnsServers) Information about the DNS servers to be used by Client VPN connections.dnsServers(DnsServersOptionsModifyStructure dnsServers) Information about the DNS servers to be used by Client VPN connections.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.securityGroupIds(String... securityGroupIds) The IDs of one or more security groups to apply to the target network.securityGroupIds(Collection<String> securityGroupIds) The IDs of one or more security groups to apply to the target network.selfServicePortal(String selfServicePortal) Specify whether to enable the self-service portal for the Client VPN endpoint.selfServicePortal(SelfServicePortal selfServicePortal) Specify whether to enable the self-service portal for the Client VPN endpoint.serverCertificateArn(String serverCertificateArn) The ARN of the server certificate to be used.sessionTimeoutHours(Integer sessionTimeoutHours) The maximum VPN session duration time in hours.splitTunnel(Boolean splitTunnel) Indicates whether the VPN is split-tunnel.The ID of the VPC to associate with the Client VPN endpoint.The port number to assign to the Client VPN endpoint for TCP and UDP traffic.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientVpnEndpointId
The ID of the Client VPN endpoint to modify.
- Parameters:
clientVpnEndpointId- The ID of the Client VPN endpoint to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateArn
The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
- Parameters:
serverCertificateArn- The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionLogOptions
ModifyClientVpnEndpointRequest.Builder connectionLogOptions(ConnectionLogOptions connectionLogOptions) Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
- Parameters:
connectionLogOptions- Information about the client connection logging options.If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
connectionLogOptions
default ModifyClientVpnEndpointRequest.Builder connectionLogOptions(Consumer<ConnectionLogOptions.Builder> connectionLogOptions) Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
ConnectionLogOptions.Builderavoiding the need to create one manually viaConnectionLogOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionLogOptions(ConnectionLogOptions).- Parameters:
connectionLogOptions- a consumer that will call methods onConnectionLogOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
dnsServers
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
- Parameters:
dnsServers- Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsServers
default ModifyClientVpnEndpointRequest.Builder dnsServers(Consumer<DnsServersOptionsModifyStructure.Builder> dnsServers) Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
This is a convenience method that creates an instance of theDnsServersOptionsModifyStructure.Builderavoiding the need to create one manually viaDnsServersOptionsModifyStructure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsServers(DnsServersOptionsModifyStructure).- Parameters:
dnsServers- a consumer that will call methods onDnsServersOptionsModifyStructure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpnPort
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values:
443|1194Default Value:
443- Parameters:
vpnPort- The port number to assign to the Client VPN endpoint for TCP and UDP traffic.Valid Values:
443|1194Default Value:
443- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A brief description of the Client VPN endpoint.
- Parameters:
description- A brief description of the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitTunnel
Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
- Parameters:
splitTunnel- Indicates whether the VPN is split-tunnel.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.
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of one or more security groups to apply to the target network.
- Parameters:
securityGroupIds- The IDs of one or more security groups to apply to the target network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The IDs of one or more security groups to apply to the target network.
- Parameters:
securityGroupIds- The IDs of one or more security groups to apply to the target network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The ID of the VPC to associate with the Client VPN endpoint.
- Parameters:
vpcId- The ID of the VPC to associate with the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServicePortal
Specify whether to enable the self-service portal for the Client VPN endpoint.
- Parameters:
selfServicePortal- Specify whether to enable the self-service portal for the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selfServicePortal
Specify whether to enable the self-service portal for the Client VPN endpoint.
- Parameters:
selfServicePortal- Specify whether to enable the self-service portal for the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientConnectOptions
ModifyClientVpnEndpointRequest.Builder clientConnectOptions(ClientConnectOptions 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 ModifyClientVpnEndpointRequest.Builder clientConnectOptions(Consumer<ClientConnectOptions.Builder> clientConnectOptions) The options for managing connection authorization for new client connections.
This is a convenience method that creates an instance of theClientConnectOptions.Builderavoiding the need to create one manually viaClientConnectOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientConnectOptions(ClientConnectOptions).- Parameters:
clientConnectOptions- a consumer that will call methods onClientConnectOptions.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 | 24Default value:
24- Parameters:
sessionTimeoutHours- The maximum VPN session duration time in hours.Valid values:
8 | 10 | 12 | 24Default value:
24- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientLoginBannerOptions
ModifyClientVpnEndpointRequest.Builder clientLoginBannerOptions(ClientLoginBannerOptions 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 ModifyClientVpnEndpointRequest.Builder clientLoginBannerOptions(Consumer<ClientLoginBannerOptions.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 theClientLoginBannerOptions.Builderavoiding the need to create one manually viaClientLoginBannerOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientLoginBannerOptions(ClientLoginBannerOptions).- Parameters:
clientLoginBannerOptions- a consumer that will call methods onClientLoginBannerOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRouteEnforcementOptions
ModifyClientVpnEndpointRequest.Builder clientRouteEnforcementOptions(ClientRouteEnforcementOptions clientRouteEnforcementOptions) Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.
Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
- Parameters:
clientRouteEnforcementOptions- Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRouteEnforcementOptions
default ModifyClientVpnEndpointRequest.Builder clientRouteEnforcementOptions(Consumer<ClientRouteEnforcementOptions.Builder> clientRouteEnforcementOptions) Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.
Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
This is a convenience method that creates an instance of theClientRouteEnforcementOptions.Builderavoiding the need to create one manually viaClientRouteEnforcementOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientRouteEnforcementOptions(ClientRouteEnforcementOptions).- Parameters:
clientRouteEnforcementOptions- a consumer that will call methods onClientRouteEnforcementOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disconnectOnSessionTimeout
ModifyClientVpnEndpointRequest.Builder disconnectOnSessionTimeout(Boolean disconnectOnSessionTimeout) Indicates whether the client VPN session is disconnected after the maximum timeout specified in
sessionTimeoutHoursis reached. Iftrue, users are prompted to reconnect client VPN. Iffalse, client VPN attempts to reconnect automatically. The default value istrue.- Parameters:
disconnectOnSessionTimeout- Indicates whether the client VPN session is disconnected after the maximum timeout specified insessionTimeoutHoursis reached. Iftrue, users are prompted to reconnect client VPN. Iffalse, client VPN attempts to reconnect automatically. The default value istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyClientVpnEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyClientVpnEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-