Class IdentityPoolCredentials.Builder (1.20.0)

public static class IdentityPoolCredentials.Builder extends ExternalAccountCredentials.Builder

Methods

build()

public IdentityPoolCredentials build()
Returns
Type Description
IdentityPoolCredentials
Overrides

setWorkforcePoolUserProject(String workforcePoolUserProject)

public IdentityPoolCredentials.Builder setWorkforcePoolUserProject(String workforcePoolUserProject)

Sets the optional workforce pool user project number when the credential corresponds to a workforce pool and not a workload identity pool. The underlying principal must still have serviceusage.services.use IAM permission to use the project for billing/quota.

Parameter
Name Description
workforcePoolUserProject String
Returns
Type Description
IdentityPoolCredentials.Builder
Overrides