Class CfnNetworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.wickr.CfnNetworkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkProps>
- Enclosing interface:
CfnNetworkProps
@Stability(Stable)
public static final class CfnNetworkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkProps>
A builder for
CfnNetworkProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessLevel(String accessLevel) Sets the value ofCfnNetworkProps.getAccessLevel()build()Builds the configured instance.networkName(String networkName) Sets the value ofCfnNetworkProps.getNetworkName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessLevel
Sets the value ofCfnNetworkProps.getAccessLevel()- Parameters:
accessLevel- The access level of the network, which determines available features and capabilities. This parameter is required.- Returns:
this
-
networkName
Sets the value ofCfnNetworkProps.getNetworkName()- Parameters:
networkName- The name of the network. This parameter is required. Must be between 1 and 20 characters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkProps>- Returns:
- a new instance of
CfnNetworkProps - Throws:
NullPointerException- if any required attribute was not provided
-