Class GdchCredentials.Builder (1.19.0)

public static class GdchCredentials.Builder extends GoogleCredentials.Builder

Inheritance

java.lang.Object > OAuth2Credentials.Builder > GoogleCredentials.Builder > GdchCredentials.Builder

Constructors

Builder()

protected Builder()

Builder(GdchCredentials credentials)

protected Builder(GdchCredentials credentials)
Parameter
NameDescription
credentialsGdchCredentials

Methods

build()

public GdchCredentials build()
Returns
TypeDescription
GdchCredentials
Overrides

getCaCertPath()

public String getCaCertPath()
Returns
TypeDescription
String

getHttpTransportFactory()

public HttpTransportFactory getHttpTransportFactory()
Returns
TypeDescription
HttpTransportFactory

getLifetime()

public int getLifetime()
Returns
TypeDescription
int

getPrivateKey()

public PrivateKey getPrivateKey()
Returns
TypeDescription
PrivateKey

getPrivateKeyId()

public String getPrivateKeyId()
Returns
TypeDescription
String

getProjectId()

public String getProjectId()
Returns
TypeDescription
String

getServiceIdentityName()

public String getServiceIdentityName()
Returns
TypeDescription
String

getTokenServerUri()

public URI getTokenServerUri()
Returns
TypeDescription
URI

setCaCertPath(String caCertPath)

public GdchCredentials.Builder setCaCertPath(String caCertPath)
Parameter
NameDescription
caCertPathString
Returns
TypeDescription
GdchCredentials.Builder

setGdchAudience(URI apiAudience)

public GdchCredentials.Builder setGdchAudience(URI apiAudience)
Parameter
NameDescription
apiAudienceURI
Returns
TypeDescription
GdchCredentials.Builder

setHttpTransportFactory(HttpTransportFactory transportFactory)

public GdchCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
Parameter
NameDescription
transportFactoryHttpTransportFactory
Returns
TypeDescription
GdchCredentials.Builder

setPrivateKey(PrivateKey privateKey)

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

setPrivateKeyId(String privateKeyId)

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

setProjectId(String projectId)

public GdchCredentials.Builder setProjectId(String projectId)
Parameter
NameDescription
projectIdString
Returns
TypeDescription
GdchCredentials.Builder

setServiceIdentityName(String name)

public GdchCredentials.Builder setServiceIdentityName(String name)
Parameter
NameDescription
nameString
Returns
TypeDescription
GdchCredentials.Builder

setTokenServerUri(URI tokenServerUri)

public GdchCredentials.Builder setTokenServerUri(URI tokenServerUri)
Parameter
NameDescription
tokenServerUriURI
Returns
TypeDescription
GdchCredentials.Builder