Class IdentityPoolCredentials.Builder (1.19.0)

public static class IdentityPoolCredentials.Builder extends ExternalAccountCredentials.Builder

Methods

build()

public IdentityPoolCredentials build()
Returns
TypeDescription
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
NameDescription
workforcePoolUserProjectString
Returns
TypeDescription
IdentityPoolCredentials.Builder
Overrides