Class DataLossPreventionDiscoveryConfigOrgConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_discovery_config.DataLossPreventionDiscoveryConfigOrgConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionDiscoveryConfigOrgConfig>
- Enclosing interface:
- DataLossPreventionDiscoveryConfigOrgConfig
@Stability(Stable) public static final class DataLossPreventionDiscoveryConfigOrgConfig.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionDiscoveryConfigOrgConfig>
A builder forDataLossPreventionDiscoveryConfigOrgConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLossPreventionDiscoveryConfigOrgConfigbuild()Builds the configured instance.DataLossPreventionDiscoveryConfigOrgConfig.Builderlocation(DataLossPreventionDiscoveryConfigOrgConfigLocation location)Sets the value ofDataLossPreventionDiscoveryConfigOrgConfig.getLocation()DataLossPreventionDiscoveryConfigOrgConfig.BuilderprojectId(String projectId)Sets the value ofDataLossPreventionDiscoveryConfigOrgConfig.getProjectId()
-
-
-
Method Detail
-
location
@Stability(Stable) public DataLossPreventionDiscoveryConfigOrgConfig.Builder location(DataLossPreventionDiscoveryConfigOrgConfigLocation location)
Sets the value ofDataLossPreventionDiscoveryConfigOrgConfig.getLocation()- Parameters:
location- location block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_discovery_config#location DataLossPreventionDiscoveryConfig#location}- Returns:
this
-
projectId
@Stability(Stable) public DataLossPreventionDiscoveryConfigOrgConfig.Builder projectId(String projectId)
Sets the value ofDataLossPreventionDiscoveryConfigOrgConfig.getProjectId()- Parameters:
projectId- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_discovery_config#project_id DataLossPreventionDiscoveryConfig#project_id}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionDiscoveryConfigOrgConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionDiscoveryConfigOrgConfig>- Returns:
- a new instance of
DataLossPreventionDiscoveryConfigOrgConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-