Class BigtableTableAdminSettings.Builder

java.lang.Object
com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings.Builder
Enclosing class:
BigtableTableAdminSettings

public static final class BigtableTableAdminSettings.Builder extends Object
Builder for BigtableTableAdminSettings.
  • Method Details

    • setProjectId

      public BigtableTableAdminSettings.Builder setProjectId(@Nullable String projectId)
      Sets the project ID of the instance whose tables the client will manage.
    • getProjectId

      @Nullable public String getProjectId()
      Gets the project ID of the instance whose tables the client will manage.
    • setInstanceId

      public BigtableTableAdminSettings.Builder setInstanceId(@Nullable String instanceId)
      Sets the instance ID of the instance whose tables the client will manage.
    • getInstanceId

      @Nullable public String getInstanceId()
      Gets the instance ID of the instance whose tables the client will manage.
    • setCredentialsProvider

      public BigtableTableAdminSettings.Builder setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
      Sets the credentials provider to use for getting the credentials to make calls with.
    • getCredentialsProvider

      public com.google.api.gax.core.CredentialsProvider getCredentialsProvider()
      Gets the credentials provider to use for getting the credentials to make calls with.
    • 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 BigtableTableAdminSettings build() throws IOException
      Builds an instance of the settings.
      Throws:
      IOException