Send feedback
Class ServiceAccountJwtAccessCredentials.Builder (1.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.20.0 keyboard_arrow_down
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
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
Send feedback
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 2024-10-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-02 UTC."],[],[]]