Interface CreateVpcConnectorRequest.Builder
- All Superinterfaces:
AppRunnerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateVpcConnectorRequest.Builder,
,CreateVpcConnectorRequest> SdkBuilder<CreateVpcConnectorRequest.Builder,
,CreateVpcConnectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateVpcConnectorRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.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.A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.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.tags
(Collection<Tag> tags) A list of metadata items that you can associate with your VPC connector resource.tags
(Consumer<Tag.Builder>... tags) A list of metadata items that you can associate with your VPC connector resource.A list of metadata items that you can associate with your VPC connector resource.vpcConnectorName
(String vpcConnectorName) A name for the VPC connector.Methods inherited from interface software.amazon.awssdk.services.apprunner.model.AppRunnerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVpcConnectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-