Interface WorkforceVpcConfigRequest.Builder

    • Method Detail

      • vpcId

        WorkforceVpcConfigRequest.Builder vpcId​(String vpcId)

        The ID of the VPC that the workforce uses for communication.

        Parameters:
        vpcId - The ID of the VPC that the workforce uses for communication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        WorkforceVpcConfigRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.

        Parameters:
        securityGroupIds - The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        WorkforceVpcConfigRequest.Builder securityGroupIds​(String... securityGroupIds)

        The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.

        Parameters:
        securityGroupIds - The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        WorkforceVpcConfigRequest.Builder subnets​(Collection<String> subnets)

        The ID of the subnets in the VPC that you want to connect.

        Parameters:
        subnets - The ID of the subnets in the VPC that you want to connect.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnets

        WorkforceVpcConfigRequest.Builder subnets​(String... subnets)

        The ID of the subnets in the VPC that you want to connect.

        Parameters:
        subnets - The ID of the subnets in the VPC that you want to connect.
        Returns:
        Returns a reference to this object so that method calls can be chained together.