Class BigqueryDataTransferConfigScheduleOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_data_transfer_config.BigqueryDataTransferConfigScheduleOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryDataTransferConfigScheduleOptions>
- Enclosing interface:
- BigqueryDataTransferConfigScheduleOptions
@Stability(Stable) public static final class BigqueryDataTransferConfigScheduleOptions.Builder extends Object implements software.amazon.jsii.Builder<BigqueryDataTransferConfigScheduleOptions>
A builder forBigqueryDataTransferConfigScheduleOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryDataTransferConfigScheduleOptionsbuild()Builds the configured instance.BigqueryDataTransferConfigScheduleOptions.BuilderdisableAutoScheduling(com.hashicorp.cdktf.IResolvable disableAutoScheduling)Sets the value ofBigqueryDataTransferConfigScheduleOptions.getDisableAutoScheduling()BigqueryDataTransferConfigScheduleOptions.BuilderdisableAutoScheduling(Boolean disableAutoScheduling)Sets the value ofBigqueryDataTransferConfigScheduleOptions.getDisableAutoScheduling()BigqueryDataTransferConfigScheduleOptions.BuilderendTime(String endTime)Sets the value ofBigqueryDataTransferConfigScheduleOptions.getEndTime()BigqueryDataTransferConfigScheduleOptions.BuilderstartTime(String startTime)Sets the value ofBigqueryDataTransferConfigScheduleOptions.getStartTime()
-
-
-
Method Detail
-
disableAutoScheduling
@Stability(Stable) public BigqueryDataTransferConfigScheduleOptions.Builder disableAutoScheduling(Boolean disableAutoScheduling)
Sets the value ofBigqueryDataTransferConfigScheduleOptions.getDisableAutoScheduling()- Parameters:
disableAutoScheduling- If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using transferConfigs.startManualRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_data_transfer_config#disable_auto_scheduling BigqueryDataTransferConfig#disable_auto_scheduling}- Returns:
this
-
disableAutoScheduling
@Stability(Stable) public BigqueryDataTransferConfigScheduleOptions.Builder disableAutoScheduling(com.hashicorp.cdktf.IResolvable disableAutoScheduling)
Sets the value ofBigqueryDataTransferConfigScheduleOptions.getDisableAutoScheduling()- Parameters:
disableAutoScheduling- If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using transferConfigs.startManualRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_data_transfer_config#disable_auto_scheduling BigqueryDataTransferConfig#disable_auto_scheduling}- Returns:
this
-
endTime
@Stability(Stable) public BigqueryDataTransferConfigScheduleOptions.Builder endTime(String endTime)
Sets the value ofBigqueryDataTransferConfigScheduleOptions.getEndTime()- Parameters:
endTime- Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_data_transfer_config#end_time BigqueryDataTransferConfig#end_time}- Returns:
this
-
startTime
@Stability(Stable) public BigqueryDataTransferConfigScheduleOptions.Builder startTime(String startTime)
Sets the value ofBigqueryDataTransferConfigScheduleOptions.getStartTime()- Parameters:
startTime- Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_data_transfer_config#start_time BigqueryDataTransferConfig#start_time}- Returns:
this
-
build
@Stability(Stable) public BigqueryDataTransferConfigScheduleOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryDataTransferConfigScheduleOptions>- Returns:
- a new instance of
BigqueryDataTransferConfigScheduleOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-