Interface VpcConnector.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcConnector.Builder,VpcConnector>,SdkBuilder<VpcConnector.Builder,VpcConnector>,SdkPojo
- Enclosing class:
- VpcConnector
public static interface VpcConnector.Builder extends SdkPojo, CopyableBuilder<VpcConnector.Builder,VpcConnector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpcConnector.BuildercreatedAt(Instant createdAt)The time when the VPC connector was created.VpcConnector.BuilderdeletedAt(Instant deletedAt)The time when the VPC connector was deleted.VpcConnector.BuildersecurityGroups(String... securityGroups)A list of IDs of security groups that App Runner uses for access to Amazon Web Services resources under the specified subnets.VpcConnector.BuildersecurityGroups(Collection<String> securityGroups)A list of IDs of security groups that App Runner uses for access to Amazon Web Services resources under the specified subnets.VpcConnector.Builderstatus(String status)The current state of the VPC connector.VpcConnector.Builderstatus(VpcConnectorStatus status)The current state of the VPC connector.VpcConnector.Buildersubnets(String... subnets)A list of IDs of subnets that App Runner uses for your service.VpcConnector.Buildersubnets(Collection<String> subnets)A list of IDs of subnets that App Runner uses for your service.VpcConnector.BuildervpcConnectorArn(String vpcConnectorArn)The Amazon Resource Name (ARN) of this VPC connector.VpcConnector.BuildervpcConnectorName(String vpcConnectorName)The customer-provided VPC connector name.VpcConnector.BuildervpcConnectorRevision(Integer vpcConnectorRevision)The revision of this VPC connector.-
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 Detail
-
vpcConnectorName
VpcConnector.Builder vpcConnectorName(String vpcConnectorName)
The customer-provided VPC connector name.
- Parameters:
vpcConnectorName- The customer-provided VPC connector name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectorArn
VpcConnector.Builder vpcConnectorArn(String vpcConnectorArn)
The Amazon Resource Name (ARN) of this VPC connector.
- Parameters:
vpcConnectorArn- The Amazon Resource Name (ARN) of this VPC connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnectorRevision
VpcConnector.Builder vpcConnectorRevision(Integer vpcConnectorRevision)
The revision of this VPC connector. It's unique among all the active connectors (
"Status": "ACTIVE") that share the sameName.At this time, App Runner supports only one revision per name.
- Parameters:
vpcConnectorRevision- The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the sameName.At this time, App Runner supports only one revision per name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
VpcConnector.Builder subnets(Collection<String> subnets)
A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.
- Parameters:
subnets- A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
VpcConnector.Builder subnets(String... subnets)
A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.
- Parameters:
subnets- A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
VpcConnector.Builder securityGroups(Collection<String> securityGroups)
A list of IDs of security groups that App Runner uses 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 uses 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
VpcConnector.Builder securityGroups(String... securityGroups)
A list of IDs of security groups that App Runner uses 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 uses 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.
-
status
VpcConnector.Builder status(String status)
The current state of the VPC connector. If the status of a connector revision is
INACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted.- Parameters:
status- The current state of the VPC connector. If the status of a connector revision isINACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpcConnectorStatus,VpcConnectorStatus
-
status
VpcConnector.Builder status(VpcConnectorStatus status)
The current state of the VPC connector. If the status of a connector revision is
INACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted.- Parameters:
status- The current state of the VPC connector. If the status of a connector revision isINACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VpcConnectorStatus,VpcConnectorStatus
-
createdAt
VpcConnector.Builder createdAt(Instant createdAt)
The time when the VPC connector was created. It's in Unix time stamp format.
- Parameters:
createdAt- The time when the VPC connector was created. It's in Unix time stamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletedAt
VpcConnector.Builder deletedAt(Instant deletedAt)
The time when the VPC connector was deleted. It's in Unix time stamp format.
- Parameters:
deletedAt- The time when the VPC connector was deleted. It's in Unix time stamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-