Class GatewayProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • egressCidrBlocks

      @Stability(Experimental) public GatewayProps.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
    • networks

      @Stability(Experimental) public GatewayProps.Builder networks(List<? extends GatewayNetwork> networks)
      Sets the value of GatewayProps.getNetworks()
      Parameters:
      networks - The list of networks in the gateway. This parameter is required. A gateway must have between 1 and 4 networks. Provide the initial set here; use addNetwork() to add more (up to 4 total).
      Returns:
      this
    • gatewayName

      @Stability(Experimental) public GatewayProps.Builder gatewayName(String gatewayName)
      Parameters:
      gatewayName - The name of the gateway. This name can not be modified after the gateway is created.
      Returns:
      this
    • build

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