Class BigtableInstanceAdminSettings.Builder
- java.lang.Object
-
- com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings.Builder
-
- Enclosing class:
- BigtableInstanceAdminSettings
public static final class BigtableInstanceAdminSettings.Builder extends Object
Builder for BigtableInstanceAdminSettings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigtableInstanceAdminSettingsbuild()Builds an instance of the settings.com.google.api.gax.core.CredentialsProvidergetCredentialsProvider()Gets the CredentialsProvider to use for getting the credentials to make calls with.StringgetProjectId()Gets the ID of the project whose instances the client will manage.BigtableInstanceAdminSettings.BuildersetCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)Sets the CredentialsProvider to use for getting the credentials to make calls with.BigtableInstanceAdminSettings.BuildersetProjectId(String projectId)Sets the ID of the project whose instances the client will manage.BigtableInstanceAdminStubSettings.BuilderstubSettings()Returns the builder for the settings used for all RPCs.
-
-
-
Method Detail
-
setProjectId
public BigtableInstanceAdminSettings.Builder setProjectId(@Nonnull String projectId)
Sets the ID of the project whose instances the client will manage.
-
getProjectId
@Nullable public String getProjectId()
Gets the ID of the project whose instances the client will manage.
-
setCredentialsProvider
public BigtableInstanceAdminSettings.Builder setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Sets the CredentialsProvider to use for getting the credentials to make calls with.
-
getCredentialsProvider
public com.google.api.gax.core.CredentialsProvider getCredentialsProvider()
Gets the CredentialsProvider to use for getting the credentials to make calls with.
-
stubSettings
public BigtableInstanceAdminStubSettings.Builder stubSettings()
Returns the builder for the settings used for all RPCs.This is meant for advanced usage. The default RPC settings are set to their recommended values.
-
build
public BigtableInstanceAdminSettings build() throws IOException
Builds an instance of the settings.- Throws:
IOException
-
-