Class ServiceAccountJwtAccessCredentials.Builder (1.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class ServiceAccountJwtAccessCredentials.Builder
Constructors
Builder()
Builder(ServiceAccountJwtAccessCredentials credentials)
protected Builder(ServiceAccountJwtAccessCredentials credentials)
Methods
build()
public ServiceAccountJwtAccessCredentials build()
getClientEmail()
public String getClientEmail()
| Returns |
| Type |
Description |
String |
|
getClientId()
public String getClientId()
| Returns |
| Type |
Description |
String |
|
getDefaultAudience()
public URI getDefaultAudience()
| Returns |
| Type |
Description |
URI |
|
getPrivateKey()
public PrivateKey getPrivateKey()
getPrivateKeyId()
public String getPrivateKeyId()
| Returns |
| Type |
Description |
String |
|
getQuotaProjectId()
public String getQuotaProjectId()
| Returns |
| Type |
Description |
String |
|
getUniverseDomain()
public String getUniverseDomain()
Returns the universe domain (example, googleapis.com) for the credentials instance.
| Returns |
| Type |
Description |
String |
|
setClientEmail(String clientEmail)
public ServiceAccountJwtAccessCredentials.Builder setClientEmail(String clientEmail)
| Parameter |
| Name |
Description |
clientEmail |
String
|
setClientId(String clientId)
public ServiceAccountJwtAccessCredentials.Builder setClientId(String clientId)
| Parameter |
| Name |
Description |
clientId |
String
|
setDefaultAudience(URI defaultAudience)
public ServiceAccountJwtAccessCredentials.Builder setDefaultAudience(URI defaultAudience)
| Parameter |
| Name |
Description |
defaultAudience |
URI
|
setPrivateKey(PrivateKey privateKey)
public ServiceAccountJwtAccessCredentials.Builder setPrivateKey(PrivateKey privateKey)
setPrivateKeyId(String privateKeyId)
public ServiceAccountJwtAccessCredentials.Builder setPrivateKeyId(String privateKeyId)
| Parameter |
| Name |
Description |
privateKeyId |
String
|
setQuotaProjectId(String quotaProjectId)
public ServiceAccountJwtAccessCredentials.Builder setQuotaProjectId(String quotaProjectId)
| Parameter |
| Name |
Description |
quotaProjectId |
String
|
setUniverseDomain(String universeDomain)
public ServiceAccountJwtAccessCredentials.Builder setUniverseDomain(String universeDomain)
| Parameter |
| Name |
Description |
universeDomain |
String
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]