Class DataCatalogEntryConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_catalog_entry.DataCatalogEntryConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataCatalogEntryConfig>
- Enclosing interface:
- DataCatalogEntryConfig
@Stability(Stable) public static final class DataCatalogEntryConfig.Builder extends Object implements software.amazon.jsii.Builder<DataCatalogEntryConfig>
A builder forDataCatalogEntryConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
entryGroup
@Stability(Stable) public DataCatalogEntryConfig.Builder entryGroup(String entryGroup)
Sets the value ofDataCatalogEntryConfig.getEntryGroup()- Parameters:
entryGroup- The name of the entry group this entry is in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#entry_group DataCatalogEntry#entry_group}- Returns:
this
-
entryId
@Stability(Stable) public DataCatalogEntryConfig.Builder entryId(String entryId)
Sets the value ofDataCatalogEntryConfig.getEntryId()- Parameters:
entryId- The id of the entry to create. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#entry_id DataCatalogEntry#entry_id}- Returns:
this
-
description
@Stability(Stable) public DataCatalogEntryConfig.Builder description(String description)
Sets the value ofDataCatalogEntryConfig.getDescription()- Parameters:
description- Entry description, which can consist of several sentences or paragraphs that describe entry contents. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#description DataCatalogEntry#description}- Returns:
this
-
displayName
@Stability(Stable) public DataCatalogEntryConfig.Builder displayName(String displayName)
Sets the value ofDataCatalogEntryConfig.getDisplayName()- Parameters:
displayName- Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#display_name DataCatalogEntry#display_name}- Returns:
this
-
gcsFilesetSpec
@Stability(Stable) public DataCatalogEntryConfig.Builder gcsFilesetSpec(DataCatalogEntryGcsFilesetSpec gcsFilesetSpec)
Sets the value ofDataCatalogEntryConfig.getGcsFilesetSpec()- Parameters:
gcsFilesetSpec- gcs_fileset_spec block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#gcs_fileset_spec DataCatalogEntry#gcs_fileset_spec}- Returns:
this
-
id
@Stability(Stable) public DataCatalogEntryConfig.Builder id(String id)
Sets the value ofDataCatalogEntryConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#id DataCatalogEntry#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
-
linkedResource
@Stability(Stable) public DataCatalogEntryConfig.Builder linkedResource(String linkedResource)
Sets the value ofDataCatalogEntryConfig.getLinkedResource()- Parameters:
linkedResource- The resource this metadata entry refers to. For Google Cloud Platform resources, linkedResource is the full name of the resource. For example, the linkedResource for a table resource from BigQuery is: //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output only when Entry is of type in the EntryType enum. For entries with userSpecifiedType, this field is optional and defaults to an empty string. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#linked_resource DataCatalogEntry#linked_resource}- Returns:
this
-
schema
@Stability(Stable) public DataCatalogEntryConfig.Builder schema(String schema)
Sets the value ofDataCatalogEntryConfig.getSchema()- Parameters:
schema- Schema of the entry (e.g. BigQuery, GoogleSQL, Avro schema), as a json string. An entry might not have any schema attached to it. See https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries#schema for what fields this schema can contain. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#schema DataCatalogEntry#schema}- Returns:
this
-
timeouts
@Stability(Stable) public DataCatalogEntryConfig.Builder timeouts(DataCatalogEntryTimeouts timeouts)
Sets the value ofDataCatalogEntryConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#timeouts DataCatalogEntry#timeouts}- Returns:
this
-
type
@Stability(Stable) public DataCatalogEntryConfig.Builder type(String type)
Sets the value ofDataCatalogEntryConfig.getType()- Parameters:
type- The type of the entry. Only used for Entries with types in the EntryType enum. Currently, only FILESET enum value is allowed. All other entries created through Data Catalog must use userSpecifiedType. Possible values: ["FILESET"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#type DataCatalogEntry#type}- Returns:
this
-
userSpecifiedSystem
@Stability(Stable) public DataCatalogEntryConfig.Builder userSpecifiedSystem(String userSpecifiedSystem)
Sets the value ofDataCatalogEntryConfig.getUserSpecifiedSystem()- Parameters:
userSpecifiedSystem- This field indicates the entry's source system that Data Catalog does not integrate with. userSpecifiedSystem strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#user_specified_system DataCatalogEntry#user_specified_system}- Returns:
this
-
userSpecifiedType
@Stability(Stable) public DataCatalogEntryConfig.Builder userSpecifiedType(String userSpecifiedType)
Sets the value ofDataCatalogEntryConfig.getUserSpecifiedType()- Parameters:
userSpecifiedType- Entry type if it does not fit any of the input-allowed values listed in EntryType enum above. When creating an entry, users should check the enum values first, if nothing matches the entry to be created, then provide a custom value, for example "my_special_type". userSpecifiedType strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_entry#user_specified_type DataCatalogEntry#user_specified_type}- Returns:
this
-
connection
@Stability(Experimental) public DataCatalogEntryConfig.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 DataCatalogEntryConfig.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 DataCatalogEntryConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataCatalogEntryConfig.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 DataCatalogEntryConfig.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 DataCatalogEntryConfig.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 DataCatalogEntryConfig.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 DataCatalogEntryConfig.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 DataCatalogEntryConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataCatalogEntryConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataCatalogEntryConfig>- Returns:
- a new instance of
DataCatalogEntryConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-