Class DataLossPreventionStoredInfoType.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_stored_info_type.DataLossPreventionStoredInfoType.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionStoredInfoType>
- Enclosing class:
- DataLossPreventionStoredInfoType
@Stability(Stable) public static final class DataLossPreventionStoredInfoType.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionStoredInfoType>
A fluent builder forDataLossPreventionStoredInfoType.
-
-
Method Summary
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataLossPreventionStoredInfoType.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
DataLossPreventionStoredInfoType.Builder.
-
connection
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataLossPreventionStoredInfoType.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder parent(String parent)
The parent of the info type in any of the following formats:.* 'projects/{{project}}' * 'projects/{{project}}/locations/{{location}}' * 'organizations/{{organization_id}}' * 'organizations/{{organization_id}}/locations/{{location}}' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#parent DataLossPreventionStoredInfoType#parent}
- Parameters:
parent- The parent of the info type in any of the following formats:. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder description(String description)
A description of the info type.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#description DataLossPreventionStoredInfoType#description}
- Parameters:
description- A description of the info type. This parameter is required.- Returns:
this
-
dictionary
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder dictionary(DataLossPreventionStoredInfoTypeDictionary dictionary)
dictionary block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#dictionary DataLossPreventionStoredInfoType#dictionary}
- Parameters:
dictionary- dictionary block. This parameter is required.- Returns:
this
-
displayName
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder displayName(String displayName)
User set display name of the info type.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#display_name DataLossPreventionStoredInfoType#display_name}
- Parameters:
displayName- User set display name of the info type. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#id DataLossPreventionStoredInfoType#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#id DataLossPreventionStoredInfoType#id}. This parameter is required.- Returns:
this
-
largeCustomDictionary
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder largeCustomDictionary(DataLossPreventionStoredInfoTypeLargeCustomDictionary largeCustomDictionary)
large_custom_dictionary block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#large_custom_dictionary DataLossPreventionStoredInfoType#large_custom_dictionary}
- Parameters:
largeCustomDictionary- large_custom_dictionary block. This parameter is required.- Returns:
this
-
regex
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder regex(DataLossPreventionStoredInfoTypeRegex regex)
regex block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#regex DataLossPreventionStoredInfoType#regex}
- Parameters:
regex- regex block. This parameter is required.- Returns:
this
-
storedInfoTypeId
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder storedInfoTypeId(String storedInfoTypeId)
The storedInfoType ID can contain uppercase and lowercase letters, numbers, and hyphens;that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#stored_info_type_id DataLossPreventionStoredInfoType#stored_info_type_id}
- Parameters:
storedInfoTypeId- The storedInfoType ID can contain uppercase and lowercase letters, numbers, and hyphens;. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public DataLossPreventionStoredInfoType.Builder timeouts(DataLossPreventionStoredInfoTypeTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_stored_info_type#timeouts DataLossPreventionStoredInfoType#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionStoredInfoType build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionStoredInfoType>- Returns:
- a newly built instance of
DataLossPreventionStoredInfoType.
-
-