Class CfnClientVpnEndpoint.ClientConnectOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ClientConnectOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientConnectOptionsProperty>
- Enclosing interface:
- CfnClientVpnEndpoint.ClientConnectOptionsProperty
@Stability(Stable)
public static final class CfnClientVpnEndpoint.ClientConnectOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientConnectOptionsProperty>
A builder for
CfnClientVpnEndpoint.ClientConnectOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClientVpnEndpoint.ClientConnectOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnClientVpnEndpoint.ClientConnectOptionsProperty.getEnabled()lambdaFunctionArn(String lambdaFunctionArn) Sets the value ofCfnClientVpnEndpoint.ClientConnectOptionsProperty.getLambdaFunctionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnClientVpnEndpoint.ClientConnectOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnClientVpnEndpoint.ClientConnectOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether client connect options are enabled. This parameter is required. The default isfalse(not enabled).- Returns:
this
-
enabled
@Stability(Stable) public CfnClientVpnEndpoint.ClientConnectOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnClientVpnEndpoint.ClientConnectOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether client connect options are enabled. This parameter is required. The default isfalse(not enabled).- Returns:
this
-
lambdaFunctionArn
@Stability(Stable) public CfnClientVpnEndpoint.ClientConnectOptionsProperty.Builder lambdaFunctionArn(String lambdaFunctionArn) Sets the value ofCfnClientVpnEndpoint.ClientConnectOptionsProperty.getLambdaFunctionArn()- Parameters:
lambdaFunctionArn- The Amazon Resource Name (ARN) of the AWS Lambda function used for connection authorization.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientConnectOptionsProperty>- Returns:
- a new instance of
CfnClientVpnEndpoint.ClientConnectOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-