Class CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty>
- Enclosing interface:
CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty
@Stability(Stable)
public static final class CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudwatchLogGroup(String cloudwatchLogGroup) cloudwatchLogStream(String cloudwatchLogStream) Sets the value ofCfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudwatchLogGroup
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder cloudwatchLogGroup(String cloudwatchLogGroup) Sets the value ofCfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.getCloudwatchLogGroup()- Parameters:
cloudwatchLogGroup- The name of the CloudWatch Logs log group. Required if connection logging is enabled.- Returns:
this
-
cloudwatchLogStream
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder cloudwatchLogStream(String cloudwatchLogStream) Sets the value ofCfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.getCloudwatchLogStream()- Parameters:
cloudwatchLogStream- The name of the CloudWatch Logs log stream to which the connection data is published.- Returns:
this
-
enabled
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether connection logging is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty.getEnabled()- Parameters:
enabled- Indicates whether connection logging is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty>- Returns:
- a new instance of
CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-