Class DataprocMetastoreService.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_service.DataprocMetastoreService.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreService>
- Enclosing class:
- DataprocMetastoreService
@Stability(Stable) public static final class DataprocMetastoreService.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreService>
A fluent builder forDataprocMetastoreService.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocMetastoreServicebuild()DataprocMetastoreService.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataprocMetastoreService.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataprocMetastoreService.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataprocMetastoreService.Buildercount(Number count)static DataprocMetastoreService.Buildercreate(software.constructs.Construct scope, String id)DataprocMetastoreService.BuilderdatabaseType(String databaseType)The database type that the Metastore service stores its data.DataprocMetastoreService.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataprocMetastoreService.BuilderencryptionConfig(DataprocMetastoreServiceEncryptionConfig encryptionConfig)encryption_config block.DataprocMetastoreService.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataprocMetastoreService.BuilderhiveMetastoreConfig(DataprocMetastoreServiceHiveMetastoreConfig hiveMetastoreConfig)hive_metastore_config block.DataprocMetastoreService.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#id DataprocMetastoreService#id}.DataprocMetastoreService.Builderlabels(Map<String,String> labels)User-defined labels for the metastore service.DataprocMetastoreService.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataprocMetastoreService.Builderlocation(String location)The location where the metastore service should reside.DataprocMetastoreService.BuildermaintenanceWindow(DataprocMetastoreServiceMaintenanceWindow maintenanceWindow)maintenance_window block.DataprocMetastoreService.BuildermetadataIntegration(DataprocMetastoreServiceMetadataIntegration metadataIntegration)metadata_integration block.DataprocMetastoreService.Buildernetwork(String network)The relative resource name of the VPC network on which the instance can be accessed.DataprocMetastoreService.BuildernetworkConfig(DataprocMetastoreServiceNetworkConfig networkConfig)network_config block.DataprocMetastoreService.Builderport(Number port)The TCP port at which the metastore service is reached.DataprocMetastoreService.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#project DataprocMetastoreService#project}.DataprocMetastoreService.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataprocMetastoreService.Builderprovisioners(List<? extends Object> provisioners)DataprocMetastoreService.BuilderreleaseChannel(String releaseChannel)The release channel of the service.DataprocMetastoreService.BuilderscalingConfig(DataprocMetastoreServiceScalingConfig scalingConfig)scaling_config block.DataprocMetastoreService.BuilderscheduledBackup(DataprocMetastoreServiceScheduledBackup scheduledBackup)scheduled_backup block.DataprocMetastoreService.BuilderserviceId(String serviceId)The ID of the metastore service.DataprocMetastoreService.BuildertelemetryConfig(DataprocMetastoreServiceTelemetryConfig telemetryConfig)telemetry_config block.DataprocMetastoreService.Buildertier(String tier)The tier of the service.DataprocMetastoreService.Buildertimeouts(DataprocMetastoreServiceTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataprocMetastoreService.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
DataprocMetastoreService.Builder.
-
connection
@Stability(Experimental) public DataprocMetastoreService.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataprocMetastoreService.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataprocMetastoreService.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataprocMetastoreService.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataprocMetastoreService.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataprocMetastoreService.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataprocMetastoreService.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataprocMetastoreService.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataprocMetastoreService.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
serviceId
@Stability(Stable) public DataprocMetastoreService.Builder serviceId(String serviceId)
The ID of the metastore service.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 63 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#service_id DataprocMetastoreService#service_id}
- Parameters:
serviceId- The ID of the metastore service. This parameter is required.- Returns:
this
-
databaseType
@Stability(Stable) public DataprocMetastoreService.Builder databaseType(String databaseType)
The database type that the Metastore service stores its data. Default value: "MYSQL" Possible values: ["MYSQL", "SPANNER"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#database_type DataprocMetastoreService#database_type}
- Parameters:
databaseType- The database type that the Metastore service stores its data. Default value: "MYSQL" Possible values: ["MYSQL", "SPANNER"]. This parameter is required.- Returns:
this
-
encryptionConfig
@Stability(Stable) public DataprocMetastoreService.Builder encryptionConfig(DataprocMetastoreServiceEncryptionConfig encryptionConfig)
encryption_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#encryption_config DataprocMetastoreService#encryption_config}
- Parameters:
encryptionConfig- encryption_config block. This parameter is required.- Returns:
this
-
hiveMetastoreConfig
@Stability(Stable) public DataprocMetastoreService.Builder hiveMetastoreConfig(DataprocMetastoreServiceHiveMetastoreConfig hiveMetastoreConfig)
hive_metastore_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#hive_metastore_config DataprocMetastoreService#hive_metastore_config}
- Parameters:
hiveMetastoreConfig- hive_metastore_config block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataprocMetastoreService.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#id DataprocMetastoreService#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#id DataprocMetastoreService#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public DataprocMetastoreService.Builder labels(Map<String,String> labels)
User-defined labels for the metastore service.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#labels DataprocMetastoreService#labels}
- Parameters:
labels- User-defined labels for the metastore service. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public DataprocMetastoreService.Builder location(String location)
The location where the metastore service should reside. The default value is 'global'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#location DataprocMetastoreService#location}
- Parameters:
location- The location where the metastore service should reside. The default value is 'global'. This parameter is required.- Returns:
this
-
maintenanceWindow
@Stability(Stable) public DataprocMetastoreService.Builder maintenanceWindow(DataprocMetastoreServiceMaintenanceWindow maintenanceWindow)
maintenance_window block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#maintenance_window DataprocMetastoreService#maintenance_window}
- Parameters:
maintenanceWindow- maintenance_window block. This parameter is required.- Returns:
this
-
metadataIntegration
@Stability(Stable) public DataprocMetastoreService.Builder metadataIntegration(DataprocMetastoreServiceMetadataIntegration metadataIntegration)
metadata_integration block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#metadata_integration DataprocMetastoreService#metadata_integration}
- Parameters:
metadataIntegration- metadata_integration block. This parameter is required.- Returns:
this
-
network
@Stability(Stable) public DataprocMetastoreService.Builder network(String network)
The relative resource name of the VPC network on which the instance can be accessed.It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#network DataprocMetastoreService#network}
- Parameters:
network- The relative resource name of the VPC network on which the instance can be accessed. This parameter is required.- Returns:
this
-
networkConfig
@Stability(Stable) public DataprocMetastoreService.Builder networkConfig(DataprocMetastoreServiceNetworkConfig networkConfig)
network_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#network_config DataprocMetastoreService#network_config}
- Parameters:
networkConfig- network_config block. This parameter is required.- Returns:
this
-
port
@Stability(Stable) public DataprocMetastoreService.Builder port(Number port)
The TCP port at which the metastore service is reached. Default: 9083.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#port DataprocMetastoreService#port}
- Parameters:
port- The TCP port at which the metastore service is reached. Default: 9083. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DataprocMetastoreService.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#project DataprocMetastoreService#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#project DataprocMetastoreService#project}. This parameter is required.- Returns:
this
-
releaseChannel
@Stability(Stable) public DataprocMetastoreService.Builder releaseChannel(String releaseChannel)
The release channel of the service. If unspecified, defaults to 'STABLE'. Default value: "STABLE" Possible values: ["CANARY", "STABLE"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#release_channel DataprocMetastoreService#release_channel}
- Parameters:
releaseChannel- The release channel of the service. If unspecified, defaults to 'STABLE'. Default value: "STABLE" Possible values: ["CANARY", "STABLE"]. This parameter is required.- Returns:
this
-
scalingConfig
@Stability(Stable) public DataprocMetastoreService.Builder scalingConfig(DataprocMetastoreServiceScalingConfig scalingConfig)
scaling_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#scaling_config DataprocMetastoreService#scaling_config}
- Parameters:
scalingConfig- scaling_config block. This parameter is required.- Returns:
this
-
scheduledBackup
@Stability(Stable) public DataprocMetastoreService.Builder scheduledBackup(DataprocMetastoreServiceScheduledBackup scheduledBackup)
scheduled_backup block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#scheduled_backup DataprocMetastoreService#scheduled_backup}
- Parameters:
scheduledBackup- scheduled_backup block. This parameter is required.- Returns:
this
-
telemetryConfig
@Stability(Stable) public DataprocMetastoreService.Builder telemetryConfig(DataprocMetastoreServiceTelemetryConfig telemetryConfig)
telemetry_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#telemetry_config DataprocMetastoreService#telemetry_config}
- Parameters:
telemetryConfig- telemetry_config block. This parameter is required.- Returns:
this
-
tier
@Stability(Stable) public DataprocMetastoreService.Builder tier(String tier)
The tier of the service. Possible values: ["DEVELOPER", "ENTERPRISE"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#tier DataprocMetastoreService#tier}
- Parameters:
tier- The tier of the service. Possible values: ["DEVELOPER", "ENTERPRISE"]. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public DataprocMetastoreService.Builder timeouts(DataprocMetastoreServiceTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#timeouts DataprocMetastoreService#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreService build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreService>- Returns:
- a newly built instance of
DataprocMetastoreService.
-
-