Class StorageTransferJobSchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_transfer_job.StorageTransferJobSchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTransferJobSchedule>
- Enclosing interface:
- StorageTransferJobSchedule
@Stability(Stable) public static final class StorageTransferJobSchedule.Builder extends Object implements software.amazon.jsii.Builder<StorageTransferJobSchedule>
A builder forStorageTransferJobSchedule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageTransferJobSchedulebuild()Builds the configured instance.StorageTransferJobSchedule.BuilderrepeatInterval(String repeatInterval)Sets the value ofStorageTransferJobSchedule.getRepeatInterval()StorageTransferJobSchedule.BuilderscheduleEndDate(StorageTransferJobScheduleScheduleEndDate scheduleEndDate)Sets the value ofStorageTransferJobSchedule.getScheduleEndDate()StorageTransferJobSchedule.BuilderscheduleStartDate(StorageTransferJobScheduleScheduleStartDate scheduleStartDate)Sets the value ofStorageTransferJobSchedule.getScheduleStartDate()StorageTransferJobSchedule.BuilderstartTimeOfDay(StorageTransferJobScheduleStartTimeOfDay startTimeOfDay)Sets the value ofStorageTransferJobSchedule.getStartTimeOfDay()
-
-
-
Method Detail
-
scheduleStartDate
@Stability(Stable) public StorageTransferJobSchedule.Builder scheduleStartDate(StorageTransferJobScheduleScheduleStartDate scheduleStartDate)
Sets the value ofStorageTransferJobSchedule.getScheduleStartDate()- Parameters:
scheduleStartDate- schedule_start_date block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#schedule_start_date StorageTransferJob#schedule_start_date}- Returns:
this
-
repeatInterval
@Stability(Stable) public StorageTransferJobSchedule.Builder repeatInterval(String repeatInterval)
Sets the value ofStorageTransferJobSchedule.getRepeatInterval()- Parameters:
repeatInterval- Interval between the start of each scheduled transfer. If unspecified, the default value is 24 hours. This value may not be less than 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#repeat_interval StorageTransferJob#repeat_interval}- Returns:
this
-
scheduleEndDate
@Stability(Stable) public StorageTransferJobSchedule.Builder scheduleEndDate(StorageTransferJobScheduleScheduleEndDate scheduleEndDate)
Sets the value ofStorageTransferJobSchedule.getScheduleEndDate()- Parameters:
scheduleEndDate- schedule_end_date block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#schedule_end_date StorageTransferJob#schedule_end_date}- Returns:
this
-
startTimeOfDay
@Stability(Stable) public StorageTransferJobSchedule.Builder startTimeOfDay(StorageTransferJobScheduleStartTimeOfDay startTimeOfDay)
Sets the value ofStorageTransferJobSchedule.getStartTimeOfDay()- Parameters:
startTimeOfDay- start_time_of_day block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#start_time_of_day StorageTransferJob#start_time_of_day}- Returns:
this
-
build
@Stability(Stable) public StorageTransferJobSchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTransferJobSchedule>- Returns:
- a new instance of
StorageTransferJobSchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-