Class BigtableInstanceAdminSettings.Builder (2.39.2)

public static final class BigtableInstanceAdminSettings.Builder

Builder for BigtableInstanceAdminSettings.

Inheritance

java.lang.Object > BigtableInstanceAdminSettings.Builder

Methods

build()

public BigtableInstanceAdminSettings build()

Builds an instance of the settings.

Returns
Type Description
BigtableInstanceAdminSettings
Exceptions
Type Description
IOException

getCredentialsProvider()

public CredentialsProvider getCredentialsProvider()

Gets the CredentialsProvider to use for getting the credentials to make calls with.

Returns
Type Description
CredentialsProvider

getProjectId()

public String getProjectId()

Gets the ID of the project whose instances the client will manage.

Returns
Type Description
String

setCredentialsProvider(CredentialsProvider credentialsProvider)

public BigtableInstanceAdminSettings.Builder setCredentialsProvider(CredentialsProvider credentialsProvider)

Sets the CredentialsProvider to use for getting the credentials to make calls with.

Parameter
Name Description
credentialsProvider CredentialsProvider
Returns
Type Description
BigtableInstanceAdminSettings.Builder

setProjectId(String projectId)

public BigtableInstanceAdminSettings.Builder setProjectId(String projectId)

Sets the ID of the project whose instances the client will manage.

Parameter
Name Description
projectId String
Returns
Type Description
BigtableInstanceAdminSettings.Builder

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.

Returns
Type Description
BigtableInstanceAdminStubSettings.Builder