Interface AwsEc2ClientVpnEndpointDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2ClientVpnEndpointDetails.Builder,AwsEc2ClientVpnEndpointDetails>,SdkBuilder<AwsEc2ClientVpnEndpointDetails.Builder,AwsEc2ClientVpnEndpointDetails>,SdkPojo
- Enclosing class:
- AwsEc2ClientVpnEndpointDetails
public static interface AwsEc2ClientVpnEndpointDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2ClientVpnEndpointDetails.Builder,AwsEc2ClientVpnEndpointDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsEc2ClientVpnEndpointDetails.BuilderauthenticationOptions(Collection<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> authenticationOptions)Information about the authentication method used by the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.BuilderauthenticationOptions(Consumer<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails.Builder>... authenticationOptions)Information about the authentication method used by the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.BuilderauthenticationOptions(AwsEc2ClientVpnEndpointAuthenticationOptionsDetails... authenticationOptions)Information about the authentication method used by the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.BuilderclientCidrBlock(String clientCidrBlock)The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.default AwsEc2ClientVpnEndpointDetails.BuilderclientConnectOptions(Consumer<AwsEc2ClientVpnEndpointClientConnectOptionsDetails.Builder> clientConnectOptions)The options for managing connection authorization for new client connections.AwsEc2ClientVpnEndpointDetails.BuilderclientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails clientConnectOptions)The options for managing connection authorization for new client connections.default AwsEc2ClientVpnEndpointDetails.BuilderclientLoginBannerOptions(Consumer<AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails.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.AwsEc2ClientVpnEndpointDetails.BuilderclientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails clientLoginBannerOptions)Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.AwsEc2ClientVpnEndpointDetails.BuilderclientVpnEndpointId(String clientVpnEndpointId)The ID of the Client VPN endpoint.default AwsEc2ClientVpnEndpointDetails.BuilderconnectionLogOptions(Consumer<AwsEc2ClientVpnEndpointConnectionLogOptionsDetails.Builder> connectionLogOptions)Information about the client connection logging options for the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.BuilderconnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails connectionLogOptions)Information about the client connection logging options for the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.Builderdescription(String description)A brief description of the endpoint.AwsEc2ClientVpnEndpointDetails.BuilderdnsServer(String... dnsServer)Information about the DNS servers to be used for DNS resolution.AwsEc2ClientVpnEndpointDetails.BuilderdnsServer(Collection<String> dnsServer)Information about the DNS servers to be used for DNS resolution.AwsEc2ClientVpnEndpointDetails.BuildersecurityGroupIdSet(String... securityGroupIdSet)The IDs of the security groups for the target network.AwsEc2ClientVpnEndpointDetails.BuildersecurityGroupIdSet(Collection<String> securityGroupIdSet)The IDs of the security groups for the target network.AwsEc2ClientVpnEndpointDetails.BuilderselfServicePortalUrl(String selfServicePortalUrl)The URL of the self-service portal.AwsEc2ClientVpnEndpointDetails.BuilderserverCertificateArn(String serverCertificateArn)The Amazon Resource Name (ARN) of the server certificate.AwsEc2ClientVpnEndpointDetails.BuildersessionTimeoutHours(Integer sessionTimeoutHours)The maximum VPN session duration time in hours.AwsEc2ClientVpnEndpointDetails.BuildersplitTunnel(Boolean splitTunnel)Indicates whether split-tunnel is enabled in the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.BuildertransportProtocol(String transportProtocol)The transport protocol used by the Client VPN endpoint.AwsEc2ClientVpnEndpointDetails.BuildervpcId(String vpcId)The ID of the VPC.AwsEc2ClientVpnEndpointDetails.BuildervpnPort(Integer vpnPort)The port number for the Client VPN endpoint.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientVpnEndpointId
AwsEc2ClientVpnEndpointDetails.Builder clientVpnEndpointId(String 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
AwsEc2ClientVpnEndpointDetails.Builder description(String 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.
-
clientCidrBlock
AwsEc2ClientVpnEndpointDetails.Builder clientCidrBlock(String 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.
-
dnsServer
AwsEc2ClientVpnEndpointDetails.Builder dnsServer(Collection<String> dnsServer)
Information about the DNS servers to be used for DNS resolution.
- Parameters:
dnsServer- 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.
-
dnsServer
AwsEc2ClientVpnEndpointDetails.Builder dnsServer(String... dnsServer)
Information about the DNS servers to be used for DNS resolution.
- Parameters:
dnsServer- 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
AwsEc2ClientVpnEndpointDetails.Builder splitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
- Parameters:
splitTunnel- Indicates whether split-tunnel is enabled in the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportProtocol
AwsEc2ClientVpnEndpointDetails.Builder transportProtocol(String 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.
-
vpnPort
AwsEc2ClientVpnEndpointDetails.Builder vpnPort(Integer 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.
-
serverCertificateArn
AwsEc2ClientVpnEndpointDetails.Builder serverCertificateArn(String serverCertificateArn)
The Amazon Resource Name (ARN) of the server certificate.
- Parameters:
serverCertificateArn- The Amazon Resource Name (ARN) of the server certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationOptions
AwsEc2ClientVpnEndpointDetails.Builder authenticationOptions(Collection<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> 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
AwsEc2ClientVpnEndpointDetails.Builder authenticationOptions(AwsEc2ClientVpnEndpointAuthenticationOptionsDetails... 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
AwsEc2ClientVpnEndpointDetails.Builder authenticationOptions(Consumer<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails.Builder>... authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
This is a convenience method that creates an instance of theAwsEc2ClientVpnEndpointAuthenticationOptionsDetails.Builderavoiding the need to create one manually viaAwsEc2ClientVpnEndpointAuthenticationOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#authenticationOptions(List.) - Parameters:
authenticationOptions- a consumer that will call methods onAwsEc2ClientVpnEndpointAuthenticationOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#authenticationOptions(java.util.Collection)
-
connectionLogOptions
AwsEc2ClientVpnEndpointDetails.Builder connectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails 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 AwsEc2ClientVpnEndpointDetails.Builder connectionLogOptions(Consumer<AwsEc2ClientVpnEndpointConnectionLogOptionsDetails.Builder> connectionLogOptions)
Information about the client connection logging options for the Client VPN endpoint.
This is a convenience method that creates an instance of theAwsEc2ClientVpnEndpointConnectionLogOptionsDetails.Builderavoiding the need to create one manually viaAwsEc2ClientVpnEndpointConnectionLogOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails).- Parameters:
connectionLogOptions- a consumer that will call methods onAwsEc2ClientVpnEndpointConnectionLogOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
connectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails)
-
securityGroupIdSet
AwsEc2ClientVpnEndpointDetails.Builder securityGroupIdSet(Collection<String> securityGroupIdSet)
The IDs of the security groups for the target network.
- Parameters:
securityGroupIdSet- 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.
-
securityGroupIdSet
AwsEc2ClientVpnEndpointDetails.Builder securityGroupIdSet(String... securityGroupIdSet)
The IDs of the security groups for the target network.
- Parameters:
securityGroupIdSet- 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
AwsEc2ClientVpnEndpointDetails.Builder vpcId(String 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
AwsEc2ClientVpnEndpointDetails.Builder selfServicePortalUrl(String 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
AwsEc2ClientVpnEndpointDetails.Builder clientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails 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 AwsEc2ClientVpnEndpointDetails.Builder clientConnectOptions(Consumer<AwsEc2ClientVpnEndpointClientConnectOptionsDetails.Builder> clientConnectOptions)
The options for managing connection authorization for new client connections.
This is a convenience method that creates an instance of theAwsEc2ClientVpnEndpointClientConnectOptionsDetails.Builderavoiding the need to create one manually viaAwsEc2ClientVpnEndpointClientConnectOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails).- Parameters:
clientConnectOptions- a consumer that will call methods onAwsEc2ClientVpnEndpointClientConnectOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails)
-
sessionTimeoutHours
AwsEc2ClientVpnEndpointDetails.Builder sessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
- Parameters:
sessionTimeoutHours- The maximum VPN session duration time in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientLoginBannerOptions
AwsEc2ClientVpnEndpointDetails.Builder clientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails 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 AwsEc2ClientVpnEndpointDetails.Builder clientLoginBannerOptions(Consumer<AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails.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 theAwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails.Builderavoiding the need to create one manually viaAwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails).- Parameters:
clientLoginBannerOptions- a consumer that will call methods onAwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails)
-
-