Interface CreateVpcConnectorRequest.Builder

All Superinterfaces:
AppRunnerRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<CreateVpcConnectorRequest.Builder,CreateVpcConnectorRequest>, SdkBuilder<CreateVpcConnectorRequest.Builder,CreateVpcConnectorRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateVpcConnectorRequest

public static interface CreateVpcConnectorRequest.Builder extends AppRunnerRequest.Builder, SdkPojo, CopyableBuilder<CreateVpcConnectorRequest.Builder,CreateVpcConnectorRequest>
  • Method Details

    • 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

      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

      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

      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

      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

      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<Tag>).

      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:
    • overrideConfiguration

      CreateVpcConnectorRequest.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.