Class DataplexZoneConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_zone.DataplexZoneConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexZoneConfig>
- Enclosing interface:
- DataplexZoneConfig
@Stability(Stable) public static final class DataplexZoneConfig.Builder extends Object implements software.amazon.jsii.Builder<DataplexZoneConfig>
A builder forDataplexZoneConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexZoneConfigbuild()Builds the configured instance.DataplexZoneConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataplexZoneConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataplexZoneConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataplexZoneConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataplexZoneConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataplexZoneConfig.Builderdescription(String description)Sets the value ofDataplexZoneConfig.getDescription()DataplexZoneConfig.BuilderdiscoverySpec(DataplexZoneDiscoverySpec discoverySpec)Sets the value ofDataplexZoneConfig.getDiscoverySpec()DataplexZoneConfig.BuilderdisplayName(String displayName)Sets the value ofDataplexZoneConfig.getDisplayName()DataplexZoneConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataplexZoneConfig.Builderid(String id)Sets the value ofDataplexZoneConfig.getId()DataplexZoneConfig.Builderlabels(Map<String,String> labels)Sets the value ofDataplexZoneConfig.getLabels()DataplexZoneConfig.Builderlake(String lake)Sets the value ofDataplexZoneConfig.getLake()DataplexZoneConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataplexZoneConfig.Builderlocation(String location)Sets the value ofDataplexZoneConfig.getLocation()DataplexZoneConfig.Buildername(String name)Sets the value ofDataplexZoneConfig.getName()DataplexZoneConfig.Builderproject(String project)Sets the value ofDataplexZoneConfig.getProject()DataplexZoneConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataplexZoneConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataplexZoneConfig.BuilderresourceSpec(DataplexZoneResourceSpec resourceSpec)Sets the value ofDataplexZoneConfig.getResourceSpec()DataplexZoneConfig.Buildertimeouts(DataplexZoneTimeouts timeouts)Sets the value ofDataplexZoneConfig.getTimeouts()DataplexZoneConfig.Buildertype(String type)Sets the value ofDataplexZoneConfig.getType()
-
-
-
Method Detail
-
discoverySpec
@Stability(Stable) public DataplexZoneConfig.Builder discoverySpec(DataplexZoneDiscoverySpec discoverySpec)
Sets the value ofDataplexZoneConfig.getDiscoverySpec()- Parameters:
discoverySpec- discovery_spec block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#discovery_spec DataplexZone#discovery_spec}- Returns:
this
-
lake
@Stability(Stable) public DataplexZoneConfig.Builder lake(String lake)
Sets the value ofDataplexZoneConfig.getLake()- Parameters:
lake- The lake for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#lake DataplexZone#lake}- Returns:
this
-
location
@Stability(Stable) public DataplexZoneConfig.Builder location(String location)
Sets the value ofDataplexZoneConfig.getLocation()- Parameters:
location- The location for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#location DataplexZone#location}- Returns:
this
-
name
@Stability(Stable) public DataplexZoneConfig.Builder name(String name)
Sets the value ofDataplexZoneConfig.getName()- Parameters:
name- The name of the zone. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#name DataplexZone#name}- Returns:
this
-
resourceSpec
@Stability(Stable) public DataplexZoneConfig.Builder resourceSpec(DataplexZoneResourceSpec resourceSpec)
Sets the value ofDataplexZoneConfig.getResourceSpec()- Parameters:
resourceSpec- resource_spec block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#resource_spec DataplexZone#resource_spec}- Returns:
this
-
type
@Stability(Stable) public DataplexZoneConfig.Builder type(String type)
Sets the value ofDataplexZoneConfig.getType()- Parameters:
type- Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#type DataplexZone#type}- Returns:
this
-
description
@Stability(Stable) public DataplexZoneConfig.Builder description(String description)
Sets the value ofDataplexZoneConfig.getDescription()- Parameters:
description- Optional. Description of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#description DataplexZone#description}- Returns:
this
-
displayName
@Stability(Stable) public DataplexZoneConfig.Builder displayName(String displayName)
Sets the value ofDataplexZoneConfig.getDisplayName()- Parameters:
displayName- Optional. User friendly display name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#display_name DataplexZone#display_name}- Returns:
this
-
id
@Stability(Stable) public DataplexZoneConfig.Builder id(String id)
Sets the value ofDataplexZoneConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#id DataplexZone#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 DataplexZoneConfig.Builder labels(Map<String,String> labels)
Sets the value ofDataplexZoneConfig.getLabels()- Parameters:
labels- Optional. User defined labels for the zone. **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/dataplex_zone#labels DataplexZone#labels}- Returns:
this
-
project
@Stability(Stable) public DataplexZoneConfig.Builder project(String project)
Sets the value ofDataplexZoneConfig.getProject()- Parameters:
project- The project for the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#project DataplexZone#project}- Returns:
this
-
timeouts
@Stability(Stable) public DataplexZoneConfig.Builder timeouts(DataplexZoneTimeouts timeouts)
Sets the value ofDataplexZoneConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#timeouts DataplexZone#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataplexZoneConfig.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 DataplexZoneConfig.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 DataplexZoneConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataplexZoneConfig.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 DataplexZoneConfig.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 DataplexZoneConfig.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 DataplexZoneConfig.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 DataplexZoneConfig.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 DataplexZoneConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataplexZoneConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexZoneConfig>- Returns:
- a new instance of
DataplexZoneConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-