com.google.cloud.bigtable.config
Class CredentialOptions.UserSuppliedCredentialOptions
- java.lang.Object
-
- com.google.cloud.bigtable.config.CredentialOptions
-
- com.google.cloud.bigtable.config.CredentialOptions.UserSuppliedCredentialOptions
-
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- CredentialOptions
public static class CredentialOptions.UserSuppliedCredentialOptions extends CredentialOptions
A CredentialOption that supplies the Credentials directly.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.cloud.bigtable.config.CredentialOptions
CredentialOptions.CredentialType, CredentialOptions.JsonCredentialsOptions, CredentialOptions.P12CredentialOptions, CredentialOptions.UserSuppliedCredentialOptions
-
-
Field Summary
-
Fields inherited from class com.google.cloud.bigtable.config.CredentialOptions
LOG, SERVICE_ACCOUNT_JSON_ENV_VARIABLE
-
-
Constructor Summary
Constructors Constructor and Description UserSuppliedCredentialOptions(com.google.auth.Credentials credential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(Object obj)
com.google.auth.Credentials
getCredential()
-
Methods inherited from class com.google.cloud.bigtable.config.CredentialOptions
credential, defaultCredentials, getCredentialType, getEnvJsonFile, jsonCredentials, jsonCredentials, nullCredential, p12Credential
-
-
-
-
Constructor Detail
-
UserSuppliedCredentialOptions
public UserSuppliedCredentialOptions(com.google.auth.Credentials credential)
-
-
Method Detail
-
getCredential
public com.google.auth.Credentials getCredential()
-
equals
public boolean equals(Object obj)
Description copied from class:CredentialOptions
- Overrides:
equals
in classCredentialOptions
-
-