Class CfnNetworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.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 TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnNetworkProps.getIpPools()ipPools(IResolvable ipPools) Sets the value ofCfnNetworkProps.getIpPools()Sets the value ofCfnNetworkProps.getName()Sets the value ofCfnNetworkProps.getRoutes()routes(IResolvable routes) Sets the value ofCfnNetworkProps.getRoutes()Sets the value ofCfnNetworkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipPools
Sets the value ofCfnNetworkProps.getIpPools()- Parameters:
ipPools- The list of IP address cidr pools for the network. This parameter is required.- Returns:
this
-
ipPools
Sets the value ofCfnNetworkProps.getIpPools()- Parameters:
ipPools- The list of IP address cidr pools for the network. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnNetworkProps.getName()- Parameters:
name- The user-specified name of the Network to be created. This parameter is required.- Returns:
this
-
routes
Sets the value ofCfnNetworkProps.getRoutes()- Parameters:
routes- The routes for the network.- Returns:
this
-
routes
Sets the value ofCfnNetworkProps.getRoutes()- Parameters:
routes- The routes for the network.- Returns:
this
-
tags
Sets the value ofCfnNetworkProps.getTags()- Parameters:
tags- A collection of key-value pairs.- 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
-