Class DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_inspect_template.DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes>
- Enclosing interface:
- DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes
@Stability(Stable) public static final class DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
infoType
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder infoType(DataLossPreventionInspectTemplateInspectConfigCustomInfoTypesInfoType infoType)
- Parameters:
infoType- info_type block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#info_type DataLossPreventionInspectTemplate#info_type}- Returns:
this
-
dictionary
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder dictionary(DataLossPreventionInspectTemplateInspectConfigCustomInfoTypesDictionary dictionary)
- Parameters:
dictionary- dictionary block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#dictionary DataLossPreventionInspectTemplate#dictionary}- Returns:
this
-
exclusionType
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder exclusionType(String exclusionType)
- Parameters:
exclusionType- If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. Possible values: ["EXCLUSION_TYPE_EXCLUDE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#exclusion_type DataLossPreventionInspectTemplate#exclusion_type}- Returns:
this
-
likelihood
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder likelihood(String likelihood)
- Parameters:
likelihood- Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Default value: "VERY_LIKELY" Possible values: ["VERY_UNLIKELY", "UNLIKELY", "POSSIBLE", "LIKELY", "VERY_LIKELY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#likelihood DataLossPreventionInspectTemplate#likelihood}- Returns:
this
-
regex
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder regex(DataLossPreventionInspectTemplateInspectConfigCustomInfoTypesRegex regex)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.getRegex()- Parameters:
regex- regex block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#regex DataLossPreventionInspectTemplate#regex}- Returns:
this
-
sensitivityScore
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder sensitivityScore(DataLossPreventionInspectTemplateInspectConfigCustomInfoTypesSensitivityScore sensitivityScore)
Sets the value ofDataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.getSensitivityScore()- Parameters:
sensitivityScore- sensitivity_score block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#sensitivity_score DataLossPreventionInspectTemplate#sensitivity_score}- Returns:
this
-
storedType
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder storedType(DataLossPreventionInspectTemplateInspectConfigCustomInfoTypesStoredType storedType)
- Parameters:
storedType- stored_type block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#stored_type DataLossPreventionInspectTemplate#stored_type}- Returns:
this
-
surrogateType
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes.Builder surrogateType(DataLossPreventionInspectTemplateInspectConfigCustomInfoTypesSurrogateType surrogateType)
- Parameters:
surrogateType- surrogate_type block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_inspect_template#surrogate_type DataLossPreventionInspectTemplate#surrogate_type}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes>- Returns:
- a new instance of
DataLossPreventionInspectTemplateInspectConfigCustomInfoTypes - Throws:
NullPointerException- if any required attribute was not provided
-
-