Class DocumentAiWarehouseDocumentSchemaConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.document_ai_warehouse_document_schema.DocumentAiWarehouseDocumentSchemaConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DocumentAiWarehouseDocumentSchemaConfig>
- Enclosing interface:
- DocumentAiWarehouseDocumentSchemaConfig
@Stability(Stable) public static final class DocumentAiWarehouseDocumentSchemaConfig.Builder extends Object implements software.amazon.jsii.Builder<DocumentAiWarehouseDocumentSchemaConfig>
A builder forDocumentAiWarehouseDocumentSchemaConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder displayName(String displayName)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getDisplayName()- Parameters:
displayName- Name of the schema given by the user. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#display_name DocumentAiWarehouseDocumentSchema#display_name}- Returns:
this
-
location
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder location(String location)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getLocation()- Parameters:
location- The location of the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#location DocumentAiWarehouseDocumentSchema#location}- Returns:
this
-
projectNumber
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder projectNumber(String projectNumber)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.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_document_schema#project_number DocumentAiWarehouseDocumentSchema#project_number}- Returns:
this
-
propertyDefinitions
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder propertyDefinitions(com.hashicorp.cdktf.IResolvable propertyDefinitions)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getPropertyDefinitions()- Parameters:
propertyDefinitions- property_definitions block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#property_definitions DocumentAiWarehouseDocumentSchema#property_definitions}- Returns:
this
-
propertyDefinitions
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder propertyDefinitions(List<? extends DocumentAiWarehouseDocumentSchemaPropertyDefinitions> propertyDefinitions)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getPropertyDefinitions()- Parameters:
propertyDefinitions- property_definitions block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#property_definitions DocumentAiWarehouseDocumentSchema#property_definitions}- Returns:
this
-
documentIsFolder
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder documentIsFolder(Boolean documentIsFolder)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getDocumentIsFolder()- Parameters:
documentIsFolder- Tells whether the document is a folder or a typical document. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#document_is_folder DocumentAiWarehouseDocumentSchema#document_is_folder}- Returns:
this
-
documentIsFolder
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder documentIsFolder(com.hashicorp.cdktf.IResolvable documentIsFolder)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getDocumentIsFolder()- Parameters:
documentIsFolder- Tells whether the document is a folder or a typical document. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#document_is_folder DocumentAiWarehouseDocumentSchema#document_is_folder}- Returns:
this
-
id
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder id(String id)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/document_ai_warehouse_document_schema#id DocumentAiWarehouseDocumentSchema#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
-
timeouts
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig.Builder timeouts(DocumentAiWarehouseDocumentSchemaTimeouts timeouts)
Sets the value ofDocumentAiWarehouseDocumentSchemaConfig.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_document_schema#timeouts DocumentAiWarehouseDocumentSchema#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.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 DocumentAiWarehouseDocumentSchemaConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DocumentAiWarehouseDocumentSchemaConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DocumentAiWarehouseDocumentSchemaConfig>- Returns:
- a new instance of
DocumentAiWarehouseDocumentSchemaConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-