Class CfnGatewayProps.Builder

java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnGatewayProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayProps>
Enclosing interface:
CfnGatewayProps

@Stability(Stable) public static final class CfnGatewayProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGatewayProps>
A builder for CfnGatewayProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • egressCidrBlocks

      @Stability(Stable) public CfnGatewayProps.Builder egressCidrBlocks(List<String> egressCidrBlocks)
      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. 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

      @Stability(Stable) public CfnGatewayProps.Builder name(String name)
      Sets the value of CfnGatewayProps.getName()
      Parameters:
      name - The name of the network. This parameter is required. This name is used to reference the network and must be unique among networks in this gateway.
      Returns:
      this
    • networks

      @Stability(Stable) public CfnGatewayProps.Builder networks(IResolvable networks)
      Parameters:
      networks - The list of networks that you want to add. This parameter is required.
      Returns:
      this
    • networks

      @Stability(Stable) public CfnGatewayProps.Builder networks(List<? extends Object> networks)
      Parameters:
      networks - The list of networks that you want to add. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnGatewayProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGatewayProps>
      Returns:
      a new instance of CfnGatewayProps
      Throws:
      NullPointerException - if any required attribute was not provided