Class ServiceAccountJwtAccessCredentials.Builder (1.6.0)

public static class ServiceAccountJwtAccessCredentials.Builder

Inheritance

java.lang.Object > ServiceAccountJwtAccessCredentials.Builder

Constructors

Builder()

protected Builder()

Builder(ServiceAccountJwtAccessCredentials credentials)

protected Builder(ServiceAccountJwtAccessCredentials credentials)
Parameter
NameDescription
credentialsServiceAccountJwtAccessCredentials

Methods

build()

public ServiceAccountJwtAccessCredentials build()
Returns
TypeDescription
ServiceAccountJwtAccessCredentials

getClientEmail()

public String getClientEmail()
Returns
TypeDescription
String

getClientId()

public String getClientId()
Returns
TypeDescription
String

getDefaultAudience()

public URI getDefaultAudience()
Returns
TypeDescription
URI

getPrivateKey()

public PrivateKey getPrivateKey()
Returns
TypeDescription
PrivateKey

getPrivateKeyId()

public String getPrivateKeyId()
Returns
TypeDescription
String

getQuotaProjectId()

public String getQuotaProjectId()
Returns
TypeDescription
String

setClientEmail(String clientEmail)

public ServiceAccountJwtAccessCredentials.Builder setClientEmail(String clientEmail)
Parameter
NameDescription
clientEmailString
Returns
TypeDescription
ServiceAccountJwtAccessCredentials.Builder

setClientId(String clientId)

public ServiceAccountJwtAccessCredentials.Builder setClientId(String clientId)
Parameter
NameDescription
clientIdString
Returns
TypeDescription
ServiceAccountJwtAccessCredentials.Builder

setDefaultAudience(URI defaultAudience)

public ServiceAccountJwtAccessCredentials.Builder setDefaultAudience(URI defaultAudience)
Parameter
NameDescription
defaultAudienceURI
Returns
TypeDescription
ServiceAccountJwtAccessCredentials.Builder

setPrivateKey(PrivateKey privateKey)

public ServiceAccountJwtAccessCredentials.Builder setPrivateKey(PrivateKey privateKey)
Parameter
NameDescription
privateKeyPrivateKey
Returns
TypeDescription
ServiceAccountJwtAccessCredentials.Builder

setPrivateKeyId(String privateKeyId)

public ServiceAccountJwtAccessCredentials.Builder setPrivateKeyId(String privateKeyId)
Parameter
NameDescription
privateKeyIdString
Returns
TypeDescription
ServiceAccountJwtAccessCredentials.Builder

setQuotaProjectId(String quotaProjectId)

public ServiceAccountJwtAccessCredentials.Builder setQuotaProjectId(String quotaProjectId)
Parameter
NameDescription
quotaProjectIdString
Returns
TypeDescription
ServiceAccountJwtAccessCredentials.Builder