Class CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty>
- Enclosing interface:
CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty
@Stability(Stable)
public static final class CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.getEnforced()enforced(IResolvable enforced) Sets the value ofCfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.getEnforced()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enforced
@Stability(Stable) public CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.Builder enforced(Boolean enforced) Sets the value ofCfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.getEnforced()- Parameters:
enforced- Enable or disable Client Route Enforcement. The state can either betrue(enabled) orfalse(disabled). The default isfalse.Valid values:
true | falseDefault value:
false- Returns:
this
-
enforced
@Stability(Stable) public CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.Builder enforced(IResolvable enforced) Sets the value ofCfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty.getEnforced()- Parameters:
enforced- Enable or disable Client Route Enforcement. The state can either betrue(enabled) orfalse(disabled). The default isfalse.Valid values:
true | falseDefault value:
false- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty>- Returns:
- a new instance of
CfnClientVpnEndpoint.ClientRouteEnforcementOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-