Class DataplexAssetDiscoverySpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_asset.DataplexAssetDiscoverySpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexAssetDiscoverySpec>
- Enclosing interface:
- DataplexAssetDiscoverySpec
@Stability(Stable) public static final class DataplexAssetDiscoverySpec.Builder extends Object implements software.amazon.jsii.Builder<DataplexAssetDiscoverySpec>
A builder forDataplexAssetDiscoverySpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enabled
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder enabled(Boolean enabled)
Sets the value ofDataplexAssetDiscoverySpec.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_asset#enabled DataplexAsset#enabled}- Returns:
this
-
enabled
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofDataplexAssetDiscoverySpec.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_asset#enabled DataplexAsset#enabled}- Returns:
this
-
csvOptions
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder csvOptions(DataplexAssetDiscoverySpecCsvOptions csvOptions)
Sets the value ofDataplexAssetDiscoverySpec.getCsvOptions()- Parameters:
csvOptions- csv_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#csv_options DataplexAsset#csv_options}- Returns:
this
-
excludePatterns
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder excludePatterns(List<String> excludePatterns)
Sets the value ofDataplexAssetDiscoverySpec.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_asset#exclude_patterns DataplexAsset#exclude_patterns}- Returns:
this
-
includePatterns
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder includePatterns(List<String> includePatterns)
Sets the value ofDataplexAssetDiscoverySpec.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_asset#include_patterns DataplexAsset#include_patterns}- Returns:
this
-
jsonOptions
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder jsonOptions(DataplexAssetDiscoverySpecJsonOptions jsonOptions)
Sets the value ofDataplexAssetDiscoverySpec.getJsonOptions()- Parameters:
jsonOptions- json_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#json_options DataplexAsset#json_options}- Returns:
this
-
schedule
@Stability(Stable) public DataplexAssetDiscoverySpec.Builder schedule(String schedule)
Sets the value ofDataplexAssetDiscoverySpec.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_asset#schedule DataplexAsset#schedule}- Returns:
this
-
build
@Stability(Stable) public DataplexAssetDiscoverySpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexAssetDiscoverySpec>- Returns:
- a new instance of
DataplexAssetDiscoverySpec - Throws:
NullPointerException- if any required attribute was not provided
-
-