Class CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty>
- Enclosing interface:
CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty
@Stability(Stable)
public static final class CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.getEnabled()lambdaFunctionArn(String lambdaFunctionArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether client connect options are enabled. The default isfalse(not enabled).- Returns:
this
-
enabled
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether client connect options are enabled. The default isfalse(not enabled).- Returns:
this
-
lambdaFunctionArn
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty.Builder lambdaFunctionArn(String lambdaFunctionArn) Sets the value ofCfnClientVpnEndpointPropsMixin.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<CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty>- Returns:
- a new instance of
CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-