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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateVpcConnectorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateVpcConnectorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateVpcConnectorRequest.BuildersecurityGroups(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.CreateVpcConnectorRequest.BuildersecurityGroups(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.CreateVpcConnectorRequest.Buildersubnets(String... subnets)A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.CreateVpcConnectorRequest.Buildersubnets(Collection<String> subnets)A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.CreateVpcConnectorRequest.Buildertags(Collection<Tag> tags)A list of metadata items that you can associate with your VPC connector resource.CreateVpcConnectorRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of metadata items that you can associate with your VPC connector resource.CreateVpcConnectorRequest.Buildertags(Tag... tags)A list of metadata items that you can associate with your VPC connector resource.CreateVpcConnectorRequest.BuildervpcConnectorName(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, sdkFieldNameToField, sdkFields
-
-
-
-
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateVpcConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateVpcConnectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-