Class DiscoveryEngineSchemaConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.discovery_engine_schema.DiscoveryEngineSchemaConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DiscoveryEngineSchemaConfig>
- Enclosing interface:
- DiscoveryEngineSchemaConfig
@Stability(Stable) public static final class DiscoveryEngineSchemaConfig.Builder extends Object implements software.amazon.jsii.Builder<DiscoveryEngineSchemaConfig>
A builder forDiscoveryEngineSchemaConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveryEngineSchemaConfigbuild()Builds the configured instance.DiscoveryEngineSchemaConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DiscoveryEngineSchemaConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DiscoveryEngineSchemaConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DiscoveryEngineSchemaConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DiscoveryEngineSchemaConfig.BuilderdataStoreId(String dataStoreId)Sets the value ofDiscoveryEngineSchemaConfig.getDataStoreId()DiscoveryEngineSchemaConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DiscoveryEngineSchemaConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DiscoveryEngineSchemaConfig.Builderid(String id)Sets the value ofDiscoveryEngineSchemaConfig.getId()DiscoveryEngineSchemaConfig.BuilderjsonSchema(String jsonSchema)Sets the value ofDiscoveryEngineSchemaConfig.getJsonSchema()DiscoveryEngineSchemaConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DiscoveryEngineSchemaConfig.Builderlocation(String location)Sets the value ofDiscoveryEngineSchemaConfig.getLocation()DiscoveryEngineSchemaConfig.Builderproject(String project)Sets the value ofDiscoveryEngineSchemaConfig.getProject()DiscoveryEngineSchemaConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DiscoveryEngineSchemaConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DiscoveryEngineSchemaConfig.BuilderschemaId(String schemaId)Sets the value ofDiscoveryEngineSchemaConfig.getSchemaId()DiscoveryEngineSchemaConfig.Buildertimeouts(DiscoveryEngineSchemaTimeouts timeouts)Sets the value ofDiscoveryEngineSchemaConfig.getTimeouts()
-
-
-
Method Detail
-
dataStoreId
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder dataStoreId(String dataStoreId)
Sets the value ofDiscoveryEngineSchemaConfig.getDataStoreId()- Parameters:
dataStoreId- The unique id of the data store. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#data_store_id DiscoveryEngineSchema#data_store_id}- Returns:
this
-
location
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder location(String location)
Sets the value ofDiscoveryEngineSchemaConfig.getLocation()- Parameters:
location- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu". This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#location DiscoveryEngineSchema#location}- Returns:
this
-
schemaId
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder schemaId(String schemaId)
Sets the value ofDiscoveryEngineSchemaConfig.getSchemaId()- Parameters:
schemaId- The unique id of the schema. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#schema_id DiscoveryEngineSchema#schema_id}- Returns:
this
-
id
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder id(String id)
Sets the value ofDiscoveryEngineSchemaConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#id DiscoveryEngineSchema#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
-
jsonSchema
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder jsonSchema(String jsonSchema)
Sets the value ofDiscoveryEngineSchemaConfig.getJsonSchema()- Parameters:
jsonSchema- The JSON representation of the schema. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#json_schema DiscoveryEngineSchema#json_schema}- Returns:
this
-
project
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder project(String project)
Sets the value ofDiscoveryEngineSchemaConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#project DiscoveryEngineSchema#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DiscoveryEngineSchemaConfig.Builder timeouts(DiscoveryEngineSchemaTimeouts timeouts)
Sets the value ofDiscoveryEngineSchemaConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_schema#timeouts DiscoveryEngineSchema#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.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 DiscoveryEngineSchemaConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DiscoveryEngineSchemaConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DiscoveryEngineSchemaConfig>- Returns:
- a new instance of
DiscoveryEngineSchemaConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-