Class CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty>
- Enclosing interface:
CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty
@Stability(Stable)
public static final class CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudwatchLogOptions
(IResolvable cloudwatchLogOptions) cloudwatchLogOptions
(CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty cloudwatchLogOptions)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudwatchLogOptions
@Stability(Stable) public CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.Builder cloudwatchLogOptions(IResolvable cloudwatchLogOptions) Sets the value ofCfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.getCloudwatchLogOptions()
- Parameters:
cloudwatchLogOptions
- Options for sending VPN tunnel logs to CloudWatch.- Returns:
this
-
cloudwatchLogOptions
@Stability(Stable) public CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.Builder cloudwatchLogOptions(CfnVPNConnection.CloudwatchLogOptionsSpecificationProperty cloudwatchLogOptions) Sets the value ofCfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty.getCloudwatchLogOptions()
- Parameters:
cloudwatchLogOptions
- Options for sending VPN tunnel logs to CloudWatch.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty>
- Returns:
- a new instance of
CfnVPNConnection.VpnTunnelLogOptionsSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-