public static final class BigtableInstanceAdminSettings.Builder extends Object
Modifier and Type | Method and Description |
---|---|
BigtableInstanceAdminSettings |
build()
Builds an instance of the settings.
|
CredentialsProvider |
getCredentialsProvider()
Gets the CredentialsProvider to use for getting the credentials to make calls with.
|
String |
getProjectId()
Gets the id of the project whose instances the client will manage.
|
BigtableInstanceAdminSettings.Builder |
setCredentialsProvider(CredentialsProvider credentialsProvider)
Sets the CredentialsProvider to use for getting the credentials to make calls with.
|
BigtableInstanceAdminSettings.Builder |
setProjectId(String projectId)
Sets the id of the project whose instances the client will manage.
|
BigtableInstanceAdminStubSettings.Builder |
stubSettings()
Returns the builder for the settings used for all RPCs.
|
public BigtableInstanceAdminSettings.Builder setProjectId(@Nonnull String projectId)
@Nullable public String getProjectId()
public BigtableInstanceAdminSettings.Builder setCredentialsProvider(CredentialsProvider credentialsProvider)
public CredentialsProvider getCredentialsProvider()
public BigtableInstanceAdminStubSettings.Builder stubSettings()
This is meant for advanced usage. The default RPC settings are set to their recommended values.
public BigtableInstanceAdminSettings build() throws IOException
IOException
Copyright © 2019 Google LLC. All rights reserved.