Class CfnGateway.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGateway>
- Enclosing class:
CfnGateway
@Stability(Stable)
public static final class CfnGateway.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGateway>
A fluent builder for
CfnGateway.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnGateway.BuilderegressCidrBlocks(List<String> egressCidrBlocks) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.The name of the network.The list of networks that you want to add.networks(IResolvable networks) The list of networks that you want to add.
-
Method Details
-
create
@Stability(Stable) public static CfnGateway.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGateway.Builder.
-
egressCidrBlocks
The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- Parameters:
egressCidrBlocks- The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. This parameter is required.- Returns:
this- See Also:
-
name
The name of the network.This name is used to reference the network and must be unique among networks in this gateway.
- Parameters:
name- The name of the network. This parameter is required.- Returns:
this- See Also:
-
networks
The list of networks that you want to add.- Parameters:
networks- The list of networks that you want to add. This parameter is required.- Returns:
this- See Also:
-
networks
The list of networks that you want to add.- Parameters:
networks- The list of networks that you want to add. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGateway>- Returns:
- a newly built instance of
CfnGateway.
-