public static final class KMSResourceManager.Builder
extends java.lang.Object
KMSResourceManager
.Modifier and Type | Method and Description |
---|---|
KMSResourceManager |
build() |
KMSResourceManager.Builder |
setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Set the GCP credentials provider to connect to the project defined in the builder.
|
KMSResourceManager.Builder |
setRegion(java.lang.String region)
Set the GCP region that the keys should be configured to write to.
|
public KMSResourceManager.Builder setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
credentialsProvider
- The GCP CredentialsProvider.public KMSResourceManager.Builder setRegion(java.lang.String region)
region
- The region to use.public KMSResourceManager build()