Class DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_loss_prevention_job_trigger.DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig>
- Enclosing interface:
- DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig
@Stability(Stable) public static final class DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder extends Object implements software.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfigbuild()Builds the configured instance.DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.BuilderenableAutoPopulationOfTimespanConfig(com.hashicorp.cdktf.IResolvable enableAutoPopulationOfTimespanConfig)DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.BuilderenableAutoPopulationOfTimespanConfig(Boolean enableAutoPopulationOfTimespanConfig)DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.BuilderendTime(String endTime)DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.BuilderstartTime(String startTime)DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.BuildertimestampField(DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampField timestampField)
-
-
-
Method Detail
-
enableAutoPopulationOfTimespanConfig
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder enableAutoPopulationOfTimespanConfig(Boolean enableAutoPopulationOfTimespanConfig)
Sets the value ofDataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.getEnableAutoPopulationOfTimespanConfig()- Parameters:
enableAutoPopulationOfTimespanConfig- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#enable_auto_population_of_timespan_config DataLossPreventionJobTrigger#enable_auto_population_of_timespan_config}- Returns:
this
-
enableAutoPopulationOfTimespanConfig
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder enableAutoPopulationOfTimespanConfig(com.hashicorp.cdktf.IResolvable enableAutoPopulationOfTimespanConfig)
Sets the value ofDataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.getEnableAutoPopulationOfTimespanConfig()- Parameters:
enableAutoPopulationOfTimespanConfig- When the job is started by a JobTrigger we will automatically figure out a valid startTime to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan endTime used in the last run of the JobTrigger. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#enable_auto_population_of_timespan_config DataLossPreventionJobTrigger#enable_auto_population_of_timespan_config}- Returns:
this
-
endTime
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder endTime(String endTime)
- Parameters:
endTime- Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#end_time DataLossPreventionJobTrigger#end_time}- Returns:
this
-
startTime
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder startTime(String startTime)
- Parameters:
startTime- Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#start_time DataLossPreventionJobTrigger#start_time}- Returns:
this
-
timestampField
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.Builder timestampField(DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfigTimestampField timestampField)
Sets the value ofDataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig.getTimestampField()- Parameters:
timestampField- timestamp_field block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_loss_prevention_job_trigger#timestamp_field DataLossPreventionJobTrigger#timestamp_field}- Returns:
this
-
build
@Stability(Stable) public DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig>- Returns:
- a new instance of
DataLossPreventionJobTriggerInspectJobStorageConfigTimespanConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-