Class CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty>
- Enclosing interface:
CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty
@Stability(Stable)
public static final class CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbannerText(String bannerText) build()Builds the configured instance.enabled(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bannerText
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty.Builder bannerText(String bannerText) - Parameters:
bannerText- Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.- Returns:
this
-
enabled
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. Valid values:true | falseDefault value:
false- Returns:
this
-
enabled
@Stability(Stable) public CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. Valid values:true | falseDefault value:
false- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty>- Returns:
- a new instance of
CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-