Class CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty>
- Enclosing interface:
CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty
@Stability(Stable)
public static final class CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbgpLogEnabled(Boolean bgpLogEnabled) bgpLogEnabled(IResolvable bgpLogEnabled) bgpLogGroupArn(String bgpLogGroupArn) bgpLogOutputFormat(String bgpLogOutputFormat) build()Builds the configured instance.logEnabled(Boolean logEnabled) logEnabled(IResolvable logEnabled) logGroupArn(String logGroupArn) logOutputFormat(String logOutputFormat)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bgpLogEnabled
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder bgpLogEnabled(Boolean bgpLogEnabled) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getBgpLogEnabled()- Parameters:
bgpLogEnabled- Specifies whether to enable BGP logging for the VPN connection. Default value isFalse. Valid values:True|False- Returns:
this
-
bgpLogEnabled
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder bgpLogEnabled(IResolvable bgpLogEnabled) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getBgpLogEnabled()- Parameters:
bgpLogEnabled- Specifies whether to enable BGP logging for the VPN connection. Default value isFalse. Valid values:True|False- Returns:
this
-
bgpLogGroupArn
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder bgpLogGroupArn(String bgpLogGroupArn) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getBgpLogGroupArn()- Parameters:
bgpLogGroupArn- The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.- Returns:
this
-
bgpLogOutputFormat
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder bgpLogOutputFormat(String bgpLogOutputFormat) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getBgpLogOutputFormat()- Parameters:
bgpLogOutputFormat- The desired output format for BGP logs to be sent to CloudWatch. Default format isjson. Valid values:json|text- Returns:
this
-
logEnabled
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder logEnabled(Boolean logEnabled) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getLogEnabled()- Parameters:
logEnabled- Enable or disable VPN tunnel logging feature. Default value isFalse. Valid values:True|False- Returns:
this
-
logEnabled
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder logEnabled(IResolvable logEnabled) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getLogEnabled()- Parameters:
logEnabled- Enable or disable VPN tunnel logging feature. Default value isFalse. Valid values:True|False- Returns:
this
-
logGroupArn
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder logGroupArn(String logGroupArn) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getLogGroupArn()- Parameters:
logGroupArn- The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.- Returns:
this
-
logOutputFormat
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.Builder logOutputFormat(String logOutputFormat) Sets the value ofCfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty.getLogOutputFormat()- Parameters:
logOutputFormat- Set log format. Default format isjson. Valid values:json|text- Returns:
this
-
build
@Stability(Stable) public CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty>- Returns:
- a new instance of
CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-