Class DataprocMetastoreFederationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_federation.DataprocMetastoreFederationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreFederationConfig>
- Enclosing interface:
- DataprocMetastoreFederationConfig
@Stability(Stable) public static final class DataprocMetastoreFederationConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreFederationConfig>
A builder forDataprocMetastoreFederationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
backendMetastores
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder backendMetastores(com.hashicorp.cdktf.IResolvable backendMetastores)
Sets the value ofDataprocMetastoreFederationConfig.getBackendMetastores()- Parameters:
backendMetastores- backend_metastores block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#backend_metastores DataprocMetastoreFederation#backend_metastores}- Returns:
this
-
backendMetastores
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder backendMetastores(List<? extends DataprocMetastoreFederationBackendMetastores> backendMetastores)
Sets the value ofDataprocMetastoreFederationConfig.getBackendMetastores()- Parameters:
backendMetastores- backend_metastores block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#backend_metastores DataprocMetastoreFederation#backend_metastores}- Returns:
this
-
federationId
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder federationId(String federationId)
Sets the value ofDataprocMetastoreFederationConfig.getFederationId()- Parameters:
federationId- The ID of the metastore federation. 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_federation#federation_id DataprocMetastoreFederation#federation_id}- Returns:
this
-
version
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder version(String version)
Sets the value ofDataprocMetastoreFederationConfig.getVersion()- Parameters:
version- The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#version DataprocMetastoreFederation#version}- Returns:
this
-
id
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder id(String id)
Sets the value ofDataprocMetastoreFederationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#id DataprocMetastoreFederation#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 DataprocMetastoreFederationConfig.Builder labels(Map<String,String> labels)
Sets the value ofDataprocMetastoreFederationConfig.getLabels()- Parameters:
labels- User-defined labels for the metastore federation. **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_federation#labels DataprocMetastoreFederation#labels}- Returns:
this
-
location
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder location(String location)
Sets the value ofDataprocMetastoreFederationConfig.getLocation()- Parameters:
location- The location where the metastore federation should reside. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#location DataprocMetastoreFederation#location}- Returns:
this
-
project
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder project(String project)
Sets the value ofDataprocMetastoreFederationConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#project DataprocMetastoreFederation#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DataprocMetastoreFederationConfig.Builder timeouts(DataprocMetastoreFederationTimeouts timeouts)
Sets the value ofDataprocMetastoreFederationConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_federation#timeouts DataprocMetastoreFederation#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.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 DataprocMetastoreFederationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreFederationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreFederationConfig>- Returns:
- a new instance of
DataprocMetastoreFederationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-