Interface CreateGatewayRequest.Builder

  • Method Details

    • egressCidrBlocks

      CreateGatewayRequest.Builder egressCidrBlocks(Collection<String> 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. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egressCidrBlocks

      CreateGatewayRequest.Builder egressCidrBlocks(String... 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. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the gateway. This name can not be modified after the gateway is created.
      Parameters:
      name - The name of the gateway. This name can not be modified after the gateway is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      The list of networks that you want to add.
      Parameters:
      networks - The list of networks that you want to add.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      The list of networks that you want to add.
      Parameters:
      networks - The list of networks that you want to add.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      The list of networks that you want to add. This is a convenience method that creates an instance of the GatewayNetwork.Builder avoiding the need to create one manually via GatewayNetwork.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networks(List<GatewayNetwork>).

      Parameters:
      networks - a consumer that will call methods on GatewayNetwork.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.