public static class DlpResourceManager.Builder
extends java.lang.Object
DlpResourceManager
.Constructor and Description |
---|
Builder(java.lang.String project,
com.google.api.gax.core.CredentialsProvider credentialsProvider)
Constructs a new Builder with the specified project.
|
Modifier and Type | Method and Description |
---|---|
DlpResourceManager |
build()
Builds a new instance of
DlpResourceManager with the specified project. |
DlpResourceManager.Builder |
setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Set the credentials provider to use with this client.
|
public Builder(java.lang.String project, com.google.api.gax.core.CredentialsProvider credentialsProvider)
project
- the GCP project IDpublic DlpResourceManager.Builder setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
credentialsProvider
- the CredentialsProvider instancepublic DlpResourceManager build()
DlpResourceManager
with the specified project.DlpResourceManager
java.lang.IllegalArgumentException
- if the project is not set