Class BigtableInstanceAdminSettings.Builder (2.37.0)

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
TypeDescription
BigtableInstanceAdminSettings
Exceptions
TypeDescription
IOException

getCredentialsProvider()

public CredentialsProvider getCredentialsProvider()

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

Returns
TypeDescription
CredentialsProvider

getProjectId()

public String getProjectId()

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

Returns
TypeDescription
String

setCredentialsProvider(CredentialsProvider credentialsProvider)

public BigtableInstanceAdminSettings.Builder setCredentialsProvider(CredentialsProvider credentialsProvider)

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

Parameter
NameDescription
credentialsProviderCredentialsProvider
Returns
TypeDescription
BigtableInstanceAdminSettings.Builder

setProjectId(String projectId)

public BigtableInstanceAdminSettings.Builder setProjectId(String projectId)

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

Parameter
NameDescription
projectIdString
Returns
TypeDescription
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
TypeDescription
BigtableInstanceAdminStubSettings.Builder