Class DocumentAiWarehouseLocationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.document_ai_warehouse_location.DocumentAiWarehouseLocationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DocumentAiWarehouseLocationConfig>
- Enclosing interface:
- DocumentAiWarehouseLocationConfig
@Stability(Stable) public static final class DocumentAiWarehouseLocationConfig.Builder extends Object implements software.amazon.jsii.Builder<DocumentAiWarehouseLocationConfig>
A builder forDocumentAiWarehouseLocationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
accessControlMode
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder accessControlMode(String accessControlMode)
Sets the value ofDocumentAiWarehouseLocationConfig.getAccessControlMode()- Parameters:
accessControlMode- The access control mode for accessing the customer data. Possible values: ["ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI", "ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID", "ACL_MODE_UNIVERSAL_ACCESS"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#access_control_mode DocumentAiWarehouseLocation#access_control_mode}- Returns:
this
-
databaseType
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder databaseType(String databaseType)
Sets the value ofDocumentAiWarehouseLocationConfig.getDatabaseType()- Parameters:
databaseType- The type of database used to store customer data. Possible values: ["DB_INFRA_SPANNER", "DB_CLOUD_SQL_POSTGRES"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#database_type DocumentAiWarehouseLocation#database_type}- Returns:
this
-
location
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder location(String location)
Sets the value ofDocumentAiWarehouseLocationConfig.getLocation()- Parameters:
location- The location in which the instance is to be provisioned. It takes the form projects/{projectNumber}/locations/{location}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#location DocumentAiWarehouseLocation#location}- Returns:
this
-
projectNumber
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder projectNumber(String projectNumber)
Sets the value ofDocumentAiWarehouseLocationConfig.getProjectNumber()- Parameters:
projectNumber- The unique identifier of the project. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#project_number DocumentAiWarehouseLocation#project_number}- Returns:
this
-
documentCreatorDefaultRole
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder documentCreatorDefaultRole(String documentCreatorDefaultRole)
Sets the value ofDocumentAiWarehouseLocationConfig.getDocumentCreatorDefaultRole()- Parameters:
documentCreatorDefaultRole- The default role for the person who create a document. Possible values: ["DOCUMENT_ADMIN", "DOCUMENT_EDITOR", "DOCUMENT_VIEWER"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#document_creator_default_role DocumentAiWarehouseLocation#document_creator_default_role}- Returns:
this
-
id
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder id(String id)
Sets the value ofDocumentAiWarehouseLocationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#id DocumentAiWarehouseLocation#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
kmsKey
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder kmsKey(String kmsKey)
Sets the value ofDocumentAiWarehouseLocationConfig.getKmsKey()- Parameters:
kmsKey- The KMS key used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kmsKey is left empty, no encryption will be enforced. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#kms_key DocumentAiWarehouseLocation#kms_key}- Returns:
this
-
timeouts
@Stability(Stable) public DocumentAiWarehouseLocationConfig.Builder timeouts(DocumentAiWarehouseLocationTimeouts timeouts)
Sets the value ofDocumentAiWarehouseLocationConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_location#timeouts DocumentAiWarehouseLocation#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DocumentAiWarehouseLocationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DocumentAiWarehouseLocationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DocumentAiWarehouseLocationConfig>- Returns:
- a new instance of
DocumentAiWarehouseLocationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-