Interface VpcEndpoint.Builder

  • Method Details

    • vpcId

      The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint.

      Parameters:
      vpcId - The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetMappings

      VpcEndpoint.Builder subnetMappings(Collection<SubnetMapping> subnetMappings)

      The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.

      Parameters:
      subnetMappings - The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetMappings

      VpcEndpoint.Builder subnetMappings(SubnetMapping... subnetMappings)

      The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.

      Parameters:
      subnetMappings - The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetMappings

      VpcEndpoint.Builder subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)

      The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.

      This is a convenience method that creates an instance of the SubnetMapping.Builder avoiding the need to create one manually via SubnetMapping.builder() .

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

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