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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-