Class Gateway.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.Gateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Gateway>
- Enclosing class:
Gateway
@Stability(Experimental)
public static final class Gateway.Builder
extends Object
implements software.amazon.jsii.Builder<Gateway>
(experimental) A fluent builder for
Gateway.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static Gateway.BuilderegressCidrBlocks(List<String> egressCidrBlocks) (experimental) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.gatewayName(String gatewayName) (experimental) The name of the gateway.networks(List<? extends GatewayNetwork> networks) (experimental) The list of networks in the gateway.
-
Method Details
-
create
@Stability(Experimental) public static Gateway.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
Gateway.Builder.
-
egressCidrBlocks
(experimental) 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
-
networks
(experimental) The list of networks in the gateway.A gateway must have between 1 and 4 networks. Provide the initial set here; use
addNetwork()to add more (up to 4 total).- Parameters:
networks- The list of networks in the gateway. This parameter is required.- Returns:
this
-
gatewayName
(experimental) The name of the gateway.This name can not be modified after the gateway is created.
Default: - autogenerated
- Parameters:
gatewayName- The name of the gateway. This parameter is required.- Returns:
this
-
build
-