Class CfnGatewayMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnGatewayMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayMixinProps>
- Enclosing interface:
CfnGatewayMixinProps
@Stability(Stable)
public static final class CfnGatewayMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayMixinProps>
A builder for
CfnGatewayMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.egressCidrBlocks(List<String> egressCidrBlocks) Sets the value ofCfnGatewayMixinProps.getEgressCidrBlocks()Sets the value ofCfnGatewayMixinProps.getName()Sets the value ofCfnGatewayMixinProps.getNetworks()networks(IResolvable networks) Sets the value ofCfnGatewayMixinProps.getNetworks()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
egressCidrBlocks
@Stability(Stable) public CfnGatewayMixinProps.Builder egressCidrBlocks(List<String> egressCidrBlocks) Sets the value ofCfnGatewayMixinProps.getEgressCidrBlocks()- Parameters:
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.- Returns:
this
-
name
Sets the value ofCfnGatewayMixinProps.getName()- Parameters:
name- The name of the gateway. This name can not be modified after the gateway is created.- Returns:
this
-
networks
Sets the value ofCfnGatewayMixinProps.getNetworks()- Parameters:
networks- The list of networks in the gateway.- Returns:
this
-
networks
Sets the value ofCfnGatewayMixinProps.getNetworks()- Parameters:
networks- The list of networks in the gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayMixinProps>- Returns:
- a new instance of
CfnGatewayMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-