Class DataLossPreventionInspectTemplateConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_inspect_template.DataLossPreventionInspectTemplateConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionInspectTemplateConfig>
- Enclosing interface:
- DataLossPreventionInspectTemplateConfig
@Stability(Stable) public static final class DataLossPreventionInspectTemplateConfig.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionInspectTemplateConfig>
A builder forDataLossPreventionInspectTemplateConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
parent
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder parent(String parent)
Sets the value ofDataLossPreventionInspectTemplateConfig.getParent()- Parameters:
parent- The parent of the inspect template in any of the following formats:. This parameter is required. * '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_inspect_template#parent DataLossPreventionInspectTemplate#parent}- Returns:
this
-
description
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder description(String description)
Sets the value ofDataLossPreventionInspectTemplateConfig.getDescription()- Parameters:
description- A description of the inspect template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#description DataLossPreventionInspectTemplate#description}- Returns:
this
-
displayName
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder displayName(String displayName)
Sets the value ofDataLossPreventionInspectTemplateConfig.getDisplayName()- Parameters:
displayName- User set display name of the inspect template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#display_name DataLossPreventionInspectTemplate#display_name}- Returns:
this
-
id
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder id(String id)
Sets the value ofDataLossPreventionInspectTemplateConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#id DataLossPreventionInspectTemplate#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
-
inspectConfig
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder inspectConfig(DataLossPreventionInspectTemplateInspectConfig inspectConfig)
Sets the value ofDataLossPreventionInspectTemplateConfig.getInspectConfig()- Parameters:
inspectConfig- inspect_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#inspect_config DataLossPreventionInspectTemplate#inspect_config}- Returns:
this
-
templateId
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder templateId(String templateId)
Sets the value ofDataLossPreventionInspectTemplateConfig.getTemplateId()- Parameters:
templateId- The template 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_inspect_template#template_id DataLossPreventionInspectTemplate#template_id}- Returns:
this
-
timeouts
@Stability(Stable) public DataLossPreventionInspectTemplateConfig.Builder timeouts(DataLossPreventionInspectTemplateTimeouts timeouts)
Sets the value ofDataLossPreventionInspectTemplateConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#timeouts DataLossPreventionInspectTemplate#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.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 DataLossPreventionInspectTemplateConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionInspectTemplateConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionInspectTemplateConfig>- Returns:
- a new instance of
DataLossPreventionInspectTemplateConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-