Class DataCatalogTagTemplateFields.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_catalog_tag_template.DataCatalogTagTemplateFields.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataCatalogTagTemplateFields>
- Enclosing interface:
- DataCatalogTagTemplateFields
@Stability(Stable) public static final class DataCatalogTagTemplateFields.Builder extends Object implements software.amazon.jsii.Builder<DataCatalogTagTemplateFields>
A builder forDataCatalogTagTemplateFields
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
fieldId
@Stability(Stable) public DataCatalogTagTemplateFields.Builder fieldId(String fieldId)
Sets the value ofDataCatalogTagTemplateFields.getFieldId()- Parameters:
fieldId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#field_id DataCatalogTagTemplate#field_id}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public DataCatalogTagTemplateFields.Builder type(DataCatalogTagTemplateFieldsType type)
Sets the value ofDataCatalogTagTemplateFields.getType()- Parameters:
type- type block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#type DataCatalogTagTemplate#type}- Returns:
this
-
description
@Stability(Stable) public DataCatalogTagTemplateFields.Builder description(String description)
Sets the value ofDataCatalogTagTemplateFields.getDescription()- Parameters:
description- A description for this field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#description DataCatalogTagTemplate#description}- Returns:
this
-
displayName
@Stability(Stable) public DataCatalogTagTemplateFields.Builder displayName(String displayName)
Sets the value ofDataCatalogTagTemplateFields.getDisplayName()- Parameters:
displayName- The display name for this field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#display_name DataCatalogTagTemplate#display_name}- Returns:
this
-
isRequired
@Stability(Stable) public DataCatalogTagTemplateFields.Builder isRequired(Boolean isRequired)
Sets the value ofDataCatalogTagTemplateFields.getIsRequired()- Parameters:
isRequired- Whether this is a required field. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#is_required DataCatalogTagTemplate#is_required}- Returns:
this
-
isRequired
@Stability(Stable) public DataCatalogTagTemplateFields.Builder isRequired(com.hashicorp.cdktf.IResolvable isRequired)
Sets the value ofDataCatalogTagTemplateFields.getIsRequired()- Parameters:
isRequired- Whether this is a required field. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#is_required DataCatalogTagTemplate#is_required}- Returns:
this
-
order
@Stability(Stable) public DataCatalogTagTemplateFields.Builder order(Number order)
Sets the value ofDataCatalogTagTemplateFields.getOrder()- Parameters:
order- The order of this field with respect to other fields in this tag template. A higher value indicates a more important field. The value can be negative. Multiple fields can have the same order, and field orders within a tag do not have to be sequential. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_catalog_tag_template#order DataCatalogTagTemplate#order}- Returns:
this
-
build
@Stability(Stable) public DataCatalogTagTemplateFields build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataCatalogTagTemplateFields>- Returns:
- a new instance of
DataCatalogTagTemplateFields - Throws:
NullPointerException- if any required attribute was not provided
-
-