Class GdchCredentials.Builder (1.24.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
Name Description
credentials GdchCredentials

Methods

build()

public GdchCredentials build()
Returns
Type Description
GdchCredentials
Overrides

getCaCertPath()

public String getCaCertPath()
Returns
Type Description
String

getHttpTransportFactory()

public HttpTransportFactory getHttpTransportFactory()
Returns
Type Description
HttpTransportFactory

getLifetime()

public int getLifetime()
Returns
Type Description
int

getPrivateKey()

public PrivateKey getPrivateKey()
Returns
Type Description
PrivateKey

getPrivateKeyId()

public String getPrivateKeyId()
Returns
Type Description
String

getProjectId()

public String getProjectId()
Returns
Type Description
String

getServiceIdentityName()

public String getServiceIdentityName()
Returns
Type Description
String

getTokenServerUri()

public URI getTokenServerUri()
Returns
Type Description
URI

setCaCertPath(String caCertPath)

public GdchCredentials.Builder setCaCertPath(String caCertPath)
Parameter
Name Description
caCertPath String
Returns
Type Description
GdchCredentials.Builder

setGdchAudience(URI apiAudience)

public GdchCredentials.Builder setGdchAudience(URI apiAudience)
Parameter
Name Description
apiAudience URI
Returns
Type Description
GdchCredentials.Builder

setHttpTransportFactory(HttpTransportFactory transportFactory)

public GdchCredentials.Builder setHttpTransportFactory(HttpTransportFactory transportFactory)
Parameter
Name Description
transportFactory HttpTransportFactory
Returns
Type Description
GdchCredentials.Builder

setPrivateKey(PrivateKey privateKey)

public GdchCredentials.Builder setPrivateKey(PrivateKey privateKey)
Parameter
Name Description
privateKey PrivateKey
Returns
Type Description
GdchCredentials.Builder

setPrivateKeyId(String privateKeyId)

public GdchCredentials.Builder setPrivateKeyId(String privateKeyId)
Parameter
Name Description
privateKeyId String
Returns
Type Description
GdchCredentials.Builder

setProjectId(String projectId)

public GdchCredentials.Builder setProjectId(String projectId)
Parameter
Name Description
projectId String
Returns
Type Description
GdchCredentials.Builder

setServiceIdentityName(String name)

public GdchCredentials.Builder setServiceIdentityName(String name)
Parameter
Name Description
name String
Returns
Type Description
GdchCredentials.Builder

setTokenServerUri(URI tokenServerUri)

public GdchCredentials.Builder setTokenServerUri(URI tokenServerUri)
Parameter
Name Description
tokenServerUri URI
Returns
Type Description
GdchCredentials.Builder