Class CfnRouterNetworkInterfaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnRouterNetworkInterfaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouterNetworkInterfaceProps>
- Enclosing interface:
CfnRouterNetworkInterfaceProps
@Stability(Stable)
public static final class CfnRouterNetworkInterfaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouterNetworkInterfaceProps>
A builder for
CfnRouterNetworkInterfaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnRouterNetworkInterfaceProps.getConfiguration()Sets the value ofCfnRouterNetworkInterfaceProps.getConfiguration()Sets the value ofCfnRouterNetworkInterfaceProps.getName()regionName(String regionName) Sets the value ofCfnRouterNetworkInterfaceProps.getRegionName()Sets the value ofCfnRouterNetworkInterfaceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
@Stability(Stable) public CfnRouterNetworkInterfaceProps.Builder configuration(IResolvable configuration) Sets the value ofCfnRouterNetworkInterfaceProps.getConfiguration()- Parameters:
configuration- The configuration settings for a router network interface. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnRouterNetworkInterfaceProps.Builder configuration(CfnRouterNetworkInterface.RouterNetworkInterfaceConfigurationProperty configuration) Sets the value ofCfnRouterNetworkInterfaceProps.getConfiguration()- Parameters:
configuration- The configuration settings for a router network interface. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnRouterNetworkInterfaceProps.getName()- Parameters:
name- The name of the router network interface. This parameter is required.- Returns:
this
-
regionName
Sets the value ofCfnRouterNetworkInterfaceProps.getRegionName()- Parameters:
regionName- The AWS Region for the router network interface. Defaults to the current region if not specified.- Returns:
this
-
tags
Sets the value ofCfnRouterNetworkInterfaceProps.getTags()- Parameters:
tags- Key-value pairs that can be used to tag and organize this router network interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouterNetworkInterfaceProps>- Returns:
- a new instance of
CfnRouterNetworkInterfaceProps - Throws:
NullPointerException- if any required attribute was not provided
-