Class DataPipelinePipelineScheduleInfo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_pipeline_pipeline.DataPipelinePipelineScheduleInfo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataPipelinePipelineScheduleInfo>
- Enclosing interface:
- DataPipelinePipelineScheduleInfo
@Stability(Stable) public static final class DataPipelinePipelineScheduleInfo.Builder extends Object implements software.amazon.jsii.Builder<DataPipelinePipelineScheduleInfo>
A builder forDataPipelinePipelineScheduleInfo
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataPipelinePipelineScheduleInfobuild()Builds the configured instance.DataPipelinePipelineScheduleInfo.Builderschedule(String schedule)Sets the value ofDataPipelinePipelineScheduleInfo.getSchedule()DataPipelinePipelineScheduleInfo.BuildertimeZone(String timeZone)Sets the value ofDataPipelinePipelineScheduleInfo.getTimeZone()
-
-
-
Method Detail
-
schedule
@Stability(Stable) public DataPipelinePipelineScheduleInfo.Builder schedule(String schedule)
Sets the value ofDataPipelinePipelineScheduleInfo.getSchedule()- Parameters:
schedule- Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_pipeline_pipeline#schedule DataPipelinePipeline#schedule}- Returns:
this
-
timeZone
@Stability(Stable) public DataPipelinePipelineScheduleInfo.Builder timeZone(String timeZone)
Sets the value ofDataPipelinePipelineScheduleInfo.getTimeZone()- Parameters:
timeZone- Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/data_pipeline_pipeline#time_zone DataPipelinePipeline#time_zone}- Returns:
this
-
build
@Stability(Stable) public DataPipelinePipelineScheduleInfo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataPipelinePipelineScheduleInfo>- Returns:
- a new instance of
DataPipelinePipelineScheduleInfo - Throws:
NullPointerException- if any required attribute was not provided
-
-