LocalFileCredentialFactory.Builder

public static class LocalFileCredentialFactory.Builder extends Object

Builder for creating instance of LocalFileCredentialFactory.

Public Constructor Summary

Public Method Summary

LocalFileCredentialFactory
build()
Builds an instance of LocalFileCredentialFactory.
LocalFileCredentialFactory.Builder
setProxy(GoogleProxy proxy)
Sets GoogleProxy for creating GoogleCredential.
LocalFileCredentialFactory.Builder
setServiceAccountId(String serviceAccountId)
Sets service account ID for creating GoogleCredential.
LocalFileCredentialFactory.Builder
setServiceAccountKeyFilePath(String serviceAccountKeyFile)
Sets service account key file path for creating GoogleCredential.

Inherited Method Summary

Public Constructors

public LocalFileCredentialFactory.Builder ()

Public Methods

public LocalFileCredentialFactory build ()

Builds an instance of LocalFileCredentialFactory.

public LocalFileCredentialFactory.Builder setProxy (GoogleProxy proxy)

Sets GoogleProxy for creating GoogleCredential.

Parameters
proxy to be used for creating GoogleCredential.

public LocalFileCredentialFactory.Builder setServiceAccountId (String serviceAccountId)

Sets service account ID for creating GoogleCredential.

Parameters
serviceAccountId to be used for creating GoogleCredential.

public LocalFileCredentialFactory.Builder setServiceAccountKeyFilePath (String serviceAccountKeyFile)

Sets service account key file path for creating GoogleCredential.

Parameters
serviceAccountKeyFile path to be used for creating GoogleCredential.