Interface VpcConnector.Builder

    • 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 same Name.

        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 same Name.

        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 is INACTIVE , 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 is INACTIVE , 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.