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

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.