public static interface CreateClientVpnEndpointRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateClientVpnEndpointRequest.Builder,CreateClientVpnEndpointRequest>
Modifier and Type | Method and Description |
---|---|
CreateClientVpnEndpointRequest.Builder |
authenticationOptions(ClientVpnAuthenticationRequest... authenticationOptions)
Information about the authentication method to be used to authenticate clients.
|
CreateClientVpnEndpointRequest.Builder |
authenticationOptions(Collection<ClientVpnAuthenticationRequest> authenticationOptions)
Information about the authentication method to be used to authenticate clients.
|
CreateClientVpnEndpointRequest.Builder |
authenticationOptions(Consumer<ClientVpnAuthenticationRequest.Builder>... authenticationOptions)
Information about the authentication method to be used to authenticate clients.
|
CreateClientVpnEndpointRequest.Builder |
clientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which to assign client IP addresses.
|
CreateClientVpnEndpointRequest.Builder |
clientConnectOptions(ClientConnectOptions clientConnectOptions)
The options for managing connection authorization for new client connections.
|
default CreateClientVpnEndpointRequest.Builder |
clientConnectOptions(Consumer<ClientConnectOptions.Builder> clientConnectOptions)
The options for managing connection authorization for new client connections.
|
CreateClientVpnEndpointRequest.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.
|
default CreateClientVpnEndpointRequest.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.
|
CreateClientVpnEndpointRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateClientVpnEndpointRequest.Builder |
connectionLogOptions(ConnectionLogOptions connectionLogOptions)
Information about the client connection logging options.
|
default CreateClientVpnEndpointRequest.Builder |
connectionLogOptions(Consumer<ConnectionLogOptions.Builder> connectionLogOptions)
Information about the client connection logging options.
|
CreateClientVpnEndpointRequest.Builder |
description(String description)
A brief description of the Client VPN endpoint.
|
CreateClientVpnEndpointRequest.Builder |
dnsServers(Collection<String> dnsServers)
Information about the DNS servers to be used for DNS resolution.
|
CreateClientVpnEndpointRequest.Builder |
dnsServers(String... dnsServers)
Information about the DNS servers to be used for DNS resolution.
|
CreateClientVpnEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateClientVpnEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateClientVpnEndpointRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The IDs of one or more security groups to apply to the target network.
|
CreateClientVpnEndpointRequest.Builder |
securityGroupIds(String... securityGroupIds)
The IDs of one or more security groups to apply to the target network.
|
CreateClientVpnEndpointRequest.Builder |
selfServicePortal(SelfServicePortal selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
CreateClientVpnEndpointRequest.Builder |
selfServicePortal(String selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
CreateClientVpnEndpointRequest.Builder |
serverCertificateArn(String serverCertificateArn)
The ARN of the server certificate.
|
CreateClientVpnEndpointRequest.Builder |
sessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
|
CreateClientVpnEndpointRequest.Builder |
splitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled on the Client VPN endpoint.
|
CreateClientVpnEndpointRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
|
CreateClientVpnEndpointRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
|
CreateClientVpnEndpointRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
|
CreateClientVpnEndpointRequest.Builder |
transportProtocol(String transportProtocol)
The transport protocol to be used by the VPN session.
|
CreateClientVpnEndpointRequest.Builder |
transportProtocol(TransportProtocol transportProtocol)
The transport protocol to be used by the VPN session.
|
CreateClientVpnEndpointRequest.Builder |
vpcId(String vpcId)
The ID of the VPC to associate with the Client VPN endpoint.
|
CreateClientVpnEndpointRequest.Builder |
vpnPort(Integer vpnPort)
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateClientVpnEndpointRequest.Builder clientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
clientCidrBlock
- The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range
cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes
that you add manually. The address range cannot be changed after the Client VPN endpoint has been
created. The CIDR block should be /22 or greater.CreateClientVpnEndpointRequest.Builder serverCertificateArn(String serverCertificateArn)
The ARN of the server certificate. For more information, see the Certificate Manager User Guide.
serverCertificateArn
- The ARN of the server certificate. For more information, see the Certificate Manager User Guide.CreateClientVpnEndpointRequest.Builder authenticationOptions(Collection<ClientVpnAuthenticationRequest> authenticationOptions)
Information about the authentication method to be used to authenticate clients.
authenticationOptions
- Information about the authentication method to be used to authenticate clients.CreateClientVpnEndpointRequest.Builder authenticationOptions(ClientVpnAuthenticationRequest... authenticationOptions)
Information about the authentication method to be used to authenticate clients.
authenticationOptions
- Information about the authentication method to be used to authenticate clients.CreateClientVpnEndpointRequest.Builder authenticationOptions(Consumer<ClientVpnAuthenticationRequest.Builder>... authenticationOptions)
Information about the authentication method to be used to authenticate clients.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #authenticationOptions(List)
.authenticationOptions
- a consumer that will call methods on List.Builder
#authenticationOptions(List)
CreateClientVpnEndpointRequest.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
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
default CreateClientVpnEndpointRequest.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.Builder
avoiding
the need to create one manually via ConnectionLogOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to connectionLogOptions(ConnectionLogOptions)
.connectionLogOptions
- a consumer that will call methods on ConnectionLogOptions.Builder
connectionLogOptions(ConnectionLogOptions)
CreateClientVpnEndpointRequest.Builder dnsServers(Collection<String> dnsServers)
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
dnsServers
- Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to
two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for
the DNS server.CreateClientVpnEndpointRequest.Builder dnsServers(String... dnsServers)
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
dnsServers
- Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to
two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for
the DNS server.CreateClientVpnEndpointRequest.Builder transportProtocol(String transportProtocol)
The transport protocol to be used by the VPN session.
Default value: udp
transportProtocol
- The transport protocol to be used by the VPN session.
Default value: udp
TransportProtocol
,
TransportProtocol
CreateClientVpnEndpointRequest.Builder transportProtocol(TransportProtocol transportProtocol)
The transport protocol to be used by the VPN session.
Default value: udp
transportProtocol
- The transport protocol to be used by the VPN session.
Default value: udp
TransportProtocol
,
TransportProtocol
CreateClientVpnEndpointRequest.Builder vpnPort(Integer vpnPort)
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
vpnPort
- The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
CreateClientVpnEndpointRequest.Builder description(String description)
A brief description of the Client VPN endpoint.
description
- A brief description of the Client VPN endpoint.CreateClientVpnEndpointRequest.Builder splitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled on the Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
splitTunnel
- Indicates whether split-tunnel is enabled on the Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
CreateClientVpnEndpointRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.CreateClientVpnEndpointRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
tagSpecifications
- The tags to apply to the Client VPN endpoint during creation.CreateClientVpnEndpointRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
tagSpecifications
- The tags to apply to the Client VPN endpoint during creation.CreateClientVpnEndpointRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
CreateClientVpnEndpointRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
securityGroupIds
- The IDs of one or more security groups to apply to the target network. You must also specify the ID of
the VPC that contains the security groups.CreateClientVpnEndpointRequest.Builder securityGroupIds(String... securityGroupIds)
The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
securityGroupIds
- The IDs of one or more security groups to apply to the target network. You must also specify the ID of
the VPC that contains the security groups.CreateClientVpnEndpointRequest.Builder vpcId(String vpcId)
The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.
vpcId
- The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in
the request, the default security group for the VPC is applied.CreateClientVpnEndpointRequest.Builder selfServicePortal(String selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
Default Value: enabled
selfServicePortal
- Specify whether to enable the self-service portal for the Client VPN endpoint.
Default Value: enabled
SelfServicePortal
,
SelfServicePortal
CreateClientVpnEndpointRequest.Builder selfServicePortal(SelfServicePortal selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
Default Value: enabled
selfServicePortal
- Specify whether to enable the self-service portal for the Client VPN endpoint.
Default Value: enabled
SelfServicePortal
,
SelfServicePortal
CreateClientVpnEndpointRequest.Builder clientConnectOptions(ClientConnectOptions clientConnectOptions)
The options for managing connection authorization for new client connections.
clientConnectOptions
- The options for managing connection authorization for new client connections.default CreateClientVpnEndpointRequest.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.Builder
avoiding
the need to create one manually via ClientConnectOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to clientConnectOptions(ClientConnectOptions)
.clientConnectOptions
- a consumer that will call methods on ClientConnectOptions.Builder
clientConnectOptions(ClientConnectOptions)
CreateClientVpnEndpointRequest.Builder sessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
sessionTimeoutHours
- The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
CreateClientVpnEndpointRequest.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.
clientLoginBannerOptions
- Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided
clients when a VPN session is established.default CreateClientVpnEndpointRequest.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.Builder
avoiding the need to create one manually via ClientLoginBannerOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to clientLoginBannerOptions(ClientLoginBannerOptions)
.clientLoginBannerOptions
- a consumer that will call methods on ClientLoginBannerOptions.Builder
clientLoginBannerOptions(ClientLoginBannerOptions)
CreateClientVpnEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateClientVpnEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.