Class DataplexZoneDiscoverySpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_zone.DataplexZoneDiscoverySpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexZoneDiscoverySpec>
- Enclosing interface:
- DataplexZoneDiscoverySpec
@Stability(Stable) public static final class DataplexZoneDiscoverySpec.Builder extends Object implements software.amazon.jsii.Builder<DataplexZoneDiscoverySpec>
A builder forDataplexZoneDiscoverySpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enabled
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder enabled(Boolean enabled)
Sets the value ofDataplexZoneDiscoverySpec.getEnabled()- Parameters:
enabled- Required. Whether discovery is enabled. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#enabled DataplexZone#enabled}- Returns:
this
-
enabled
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofDataplexZoneDiscoverySpec.getEnabled()- Parameters:
enabled- Required. Whether discovery is enabled. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#enabled DataplexZone#enabled}- Returns:
this
-
csvOptions
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder csvOptions(DataplexZoneDiscoverySpecCsvOptions csvOptions)
Sets the value ofDataplexZoneDiscoverySpec.getCsvOptions()- Parameters:
csvOptions- csv_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#csv_options DataplexZone#csv_options}- Returns:
this
-
excludePatterns
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder excludePatterns(List<String> excludePatterns)
Sets the value ofDataplexZoneDiscoverySpec.getExcludePatterns()- Parameters:
excludePatterns- Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#exclude_patterns DataplexZone#exclude_patterns}- Returns:
this
-
includePatterns
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder includePatterns(List<String> includePatterns)
Sets the value ofDataplexZoneDiscoverySpec.getIncludePatterns()- Parameters:
includePatterns- Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#include_patterns DataplexZone#include_patterns}- Returns:
this
-
jsonOptions
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder jsonOptions(DataplexZoneDiscoverySpecJsonOptions jsonOptions)
Sets the value ofDataplexZoneDiscoverySpec.getJsonOptions()- Parameters:
jsonOptions- json_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#json_options DataplexZone#json_options}- Returns:
this
-
schedule
@Stability(Stable) public DataplexZoneDiscoverySpec.Builder schedule(String schedule)
Sets the value ofDataplexZoneDiscoverySpec.getSchedule()- Parameters:
schedule- Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_zone#schedule DataplexZone#schedule}- Returns:
this
-
build
@Stability(Stable) public DataplexZoneDiscoverySpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexZoneDiscoverySpec>- Returns:
- a new instance of
DataplexZoneDiscoverySpec - Throws:
NullPointerException- if any required attribute was not provided
-
-