public final class BigtableInstanceAdminSettings extends Object
BigtableInstanceAdminClient
.
It must be configured with a project id and can be used to change default RPC settings.
Example usage:
BigtableInstanceAdminSettings.Builder settingsBuilder = BigtableInstanceAdminSettings.newBuilder()
.setProjectId("my-project");
settingsBuilder.stubSettings().createInstanceSettings()
.setRetrySettings(
RetrySettings.newBuilder()
.setTotalTimeout(Duration.ofMinutes(15))
.build());
BigtableInstanceAdminSettings settings = settingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
BigtableInstanceAdminSettings.Builder
Builder for BigtableInstanceAdminSettings.
|
Modifier and Type | Method and Description |
---|---|
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.
|
BigtableInstanceAdminStubSettings |
getStubSettings()
Gets the underlying RPC settings.
|
static BigtableInstanceAdminSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
BigtableInstanceAdminSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
@Nonnull public String getProjectId()
public CredentialsProvider getCredentialsProvider()
@Nonnull public BigtableInstanceAdminStubSettings getStubSettings()
public BigtableInstanceAdminSettings.Builder toBuilder()
public static BigtableInstanceAdminSettings.Builder newBuilder()
Copyright © 2019 Google LLC. All rights reserved.