Interface WorkforceVpcConfigResponse.Builder

    • Method Detail

      • vpcId

        WorkforceVpcConfigResponse.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

        WorkforceVpcConfigResponse.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

        WorkforceVpcConfigResponse.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

        WorkforceVpcConfigResponse.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

        WorkforceVpcConfigResponse.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.
      • vpcEndpointId

        WorkforceVpcConfigResponse.Builder vpcEndpointId​(String vpcEndpointId)

        The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.

        Parameters:
        vpcEndpointId - The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.