Class DataprocMetastoreServiceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_service.DataprocMetastoreServiceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreServiceConfig>
- Enclosing interface:
- DataprocMetastoreServiceConfig
@Stability(Stable) public static final class DataprocMetastoreServiceConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreServiceConfig>
A builder forDataprocMetastoreServiceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
serviceId
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder serviceId(String serviceId)
Sets the value ofDataprocMetastoreServiceConfig.getServiceId()- Parameters:
serviceId- The ID of the metastore service. This parameter is required. 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}- Returns:
this
-
databaseType
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder databaseType(String databaseType)
Sets the value ofDataprocMetastoreServiceConfig.getDatabaseType()- Parameters:
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}- Returns:
this
-
encryptionConfig
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder encryptionConfig(DataprocMetastoreServiceEncryptionConfig encryptionConfig)
Sets the value ofDataprocMetastoreServiceConfig.getEncryptionConfig()- Parameters:
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}- Returns:
this
-
hiveMetastoreConfig
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder hiveMetastoreConfig(DataprocMetastoreServiceHiveMetastoreConfig hiveMetastoreConfig)
Sets the value ofDataprocMetastoreServiceConfig.getHiveMetastoreConfig()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder id(String id)
Sets the value ofDataprocMetastoreServiceConfig.getId()- 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}. 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
-
labels
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder labels(Map<String,String> labels)
Sets the value ofDataprocMetastoreServiceConfig.getLabels()- Parameters:
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}- Returns:
this
-
location
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder location(String location)
Sets the value ofDataprocMetastoreServiceConfig.getLocation()- Parameters:
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}- Returns:
this
-
maintenanceWindow
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder maintenanceWindow(DataprocMetastoreServiceMaintenanceWindow maintenanceWindow)
Sets the value ofDataprocMetastoreServiceConfig.getMaintenanceWindow()- Parameters:
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}- Returns:
this
-
metadataIntegration
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder metadataIntegration(DataprocMetastoreServiceMetadataIntegration metadataIntegration)
Sets the value ofDataprocMetastoreServiceConfig.getMetadataIntegration()- Parameters:
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}- Returns:
this
-
network
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder network(String network)
Sets the value ofDataprocMetastoreServiceConfig.getNetwork()- Parameters:
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}- Returns:
this
-
networkConfig
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder networkConfig(DataprocMetastoreServiceNetworkConfig networkConfig)
Sets the value ofDataprocMetastoreServiceConfig.getNetworkConfig()- Parameters:
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}- Returns:
this
-
port
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder port(Number port)
Sets the value ofDataprocMetastoreServiceConfig.getPort()- Parameters:
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}- Returns:
this
-
project
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder project(String project)
Sets the value ofDataprocMetastoreServiceConfig.getProject()- 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}.- Returns:
this
-
releaseChannel
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder releaseChannel(String releaseChannel)
Sets the value ofDataprocMetastoreServiceConfig.getReleaseChannel()- Parameters:
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}- Returns:
this
-
scalingConfig
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder scalingConfig(DataprocMetastoreServiceScalingConfig scalingConfig)
Sets the value ofDataprocMetastoreServiceConfig.getScalingConfig()- Parameters:
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}- Returns:
this
-
scheduledBackup
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder scheduledBackup(DataprocMetastoreServiceScheduledBackup scheduledBackup)
Sets the value ofDataprocMetastoreServiceConfig.getScheduledBackup()- Parameters:
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}- Returns:
this
-
telemetryConfig
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder telemetryConfig(DataprocMetastoreServiceTelemetryConfig telemetryConfig)
Sets the value ofDataprocMetastoreServiceConfig.getTelemetryConfig()- Parameters:
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}- Returns:
this
-
tier
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder tier(String tier)
Sets the value ofDataprocMetastoreServiceConfig.getTier()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public DataprocMetastoreServiceConfig.Builder timeouts(DataprocMetastoreServiceTimeouts timeouts)
Sets the value ofDataprocMetastoreServiceConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.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 DataprocMetastoreServiceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreServiceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreServiceConfig>- Returns:
- a new instance of
DataprocMetastoreServiceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-