Class RouterNetworkInterfaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.RouterNetworkInterfaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouterNetworkInterfaceProps>
- Enclosing interface:
RouterNetworkInterfaceProps
@Stability(Experimental)
public static final class RouterNetworkInterfaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<RouterNetworkInterfaceProps>
A builder for
RouterNetworkInterfaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(RouterNetworkConfiguration configuration) Sets the value ofRouterNetworkInterfaceProps.getConfiguration()regionName(String regionName) Sets the value ofRouterNetworkInterfaceProps.getRegionName()routerNetworkInterfaceName(String routerNetworkInterfaceName) Sets the value ofRouterNetworkInterfaceProps.getRouterNetworkInterfaceName()Sets the value ofRouterNetworkInterfaceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
@Stability(Experimental) public RouterNetworkInterfaceProps.Builder configuration(RouterNetworkConfiguration configuration) Sets the value ofRouterNetworkInterfaceProps.getConfiguration()- Parameters:
configuration- Network configuration for the router network interface. This parameter is required.- Returns:
this
-
regionName
Sets the value ofRouterNetworkInterfaceProps.getRegionName()- Parameters:
regionName- The AWS Region where the router network interface will be created.- Returns:
this
-
routerNetworkInterfaceName
@Stability(Experimental) public RouterNetworkInterfaceProps.Builder routerNetworkInterfaceName(String routerNetworkInterfaceName) Sets the value ofRouterNetworkInterfaceProps.getRouterNetworkInterfaceName()- Parameters:
routerNetworkInterfaceName- The name of the router network interface.- Returns:
this
-
tags
Sets the value ofRouterNetworkInterfaceProps.getTags()- Parameters:
tags- Tags to add to the network interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouterNetworkInterfaceProps>- Returns:
- a new instance of
RouterNetworkInterfaceProps - Throws:
NullPointerException- if any required attribute was not provided
-