Interface CreateVpcConnectorRequest.Builder

    • Method Detail

      • vpcConnectorName

        CreateVpcConnectorRequest.Builder vpcConnectorName​(String vpcConnectorName)

        A name for the VPC connector.

        Parameters:
        vpcConnectorName - A name for the VPC connector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        CreateVpcConnectorRequest.Builder subnets​(Collection<String> subnets)

        A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.

        App Runner currently only provides support for IPv4.

        Parameters:
        subnets - A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.

        App Runner currently only provides support for IPv4.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        CreateVpcConnectorRequest.Builder subnets​(String... subnets)

        A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.

        App Runner currently only provides support for IPv4.

        Parameters:
        subnets - A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.

        App Runner currently only provides support for IPv4.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        CreateVpcConnectorRequest.Builder securityGroups​(Collection<String> securityGroups)

        A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.

        Parameters:
        securityGroups - A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        CreateVpcConnectorRequest.Builder securityGroups​(String... securityGroups)

        A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.

        Parameters:
        securityGroups - A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVpcConnectorRequest.Builder tags​(Collection<Tag> tags)

        A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.

        Parameters:
        tags - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVpcConnectorRequest.Builder tags​(Tag... tags)

        A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.

        Parameters:
        tags - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVpcConnectorRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)