Class NetworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.NetworkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkProps>
- Enclosing interface:
NetworkProps
@Stability(Experimental)
public static final class NetworkProps.Builder
extends Object
implements software.amazon.jsii.Builder<NetworkProps>
A builder for
NetworkProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofNetworkProps.getIpPools()networkName(String networkName) Sets the value ofNetworkProps.getNetworkName()routes(List<? extends NetworkRoute> routes) Sets the value ofNetworkProps.getRoutes()Sets the value ofNetworkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipPools
Sets the value ofNetworkProps.getIpPools()- Parameters:
ipPools- The list of IP address CIDR pools for the network. This parameter is required.- Returns:
this
-
networkName
Sets the value ofNetworkProps.getNetworkName()- Parameters:
networkName- The name of the network.- Returns:
this
-
routes
Sets the value ofNetworkProps.getRoutes()- Parameters:
routes- The routes for the network.- Returns:
this
-
tags
Sets the value ofNetworkProps.getTags()- Parameters:
tags- Tags to add to the network.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkProps>- Returns:
- a new instance of
NetworkProps - Throws:
NullPointerException- if any required attribute was not provided
-