Class GatewayNetworkDefineProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.GatewayNetworkDefineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayNetworkDefineProps>
- Enclosing interface:
GatewayNetworkDefineProps
@Stability(Experimental)
public static final class GatewayNetworkDefineProps.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayNetworkDefineProps>
A builder for
GatewayNetworkDefineProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGatewayNetworkDefineProps.getCidrBlock()Sets the value ofGatewayNetworkDefineProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrBlock
Sets the value ofGatewayNetworkDefineProps.getCidrBlock()- Parameters:
cidrBlock- A unique IP address range to use for this network. This parameter is required. Must be in CIDR notation (for example,10.0.0.0/16).- Returns:
this
-
name
Sets the value ofGatewayNetworkDefineProps.getName()- Parameters:
name- The name of the network. This parameter is required. Used to reference this network from bridge sources and outputs, and must be unique among the networks on the gateway.Maximum 64 characters; alphanumeric, hyphens, and underscores only.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GatewayNetworkDefineProps>- Returns:
- a new instance of
GatewayNetworkDefineProps - Throws:
NullPointerException- if any required attribute was not provided
-