Class StorageTransferJobScheduleScheduleStartDate.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_transfer_job.StorageTransferJobScheduleScheduleStartDate.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTransferJobScheduleScheduleStartDate>
- Enclosing interface:
- StorageTransferJobScheduleScheduleStartDate
@Stability(Stable) public static final class StorageTransferJobScheduleScheduleStartDate.Builder extends Object implements software.amazon.jsii.Builder<StorageTransferJobScheduleScheduleStartDate>
A builder forStorageTransferJobScheduleScheduleStartDate
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageTransferJobScheduleScheduleStartDatebuild()Builds the configured instance.StorageTransferJobScheduleScheduleStartDate.Builderday(Number day)Sets the value ofStorageTransferJobScheduleScheduleStartDate.getDay()StorageTransferJobScheduleScheduleStartDate.Buildermonth(Number month)Sets the value ofStorageTransferJobScheduleScheduleStartDate.getMonth()StorageTransferJobScheduleScheduleStartDate.Builderyear(Number year)Sets the value ofStorageTransferJobScheduleScheduleStartDate.getYear()
-
-
-
Method Detail
-
day
@Stability(Stable) public StorageTransferJobScheduleScheduleStartDate.Builder day(Number day)
Sets the value ofStorageTransferJobScheduleScheduleStartDate.getDay()- Parameters:
day- Day of month. Must be from 1 to 31 and valid for the year and month. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#day StorageTransferJob#day}- Returns:
this
-
month
@Stability(Stable) public StorageTransferJobScheduleScheduleStartDate.Builder month(Number month)
Sets the value ofStorageTransferJobScheduleScheduleStartDate.getMonth()- Parameters:
month- Month of year. Must be from 1 to 12. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#month StorageTransferJob#month}- Returns:
this
-
year
@Stability(Stable) public StorageTransferJobScheduleScheduleStartDate.Builder year(Number year)
Sets the value ofStorageTransferJobScheduleScheduleStartDate.getYear()- Parameters:
year- Year of date. Must be from 1 to 9999. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_transfer_job#year StorageTransferJob#year}- Returns:
this
-
build
@Stability(Stable) public StorageTransferJobScheduleScheduleStartDate build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTransferJobScheduleScheduleStartDate>- Returns:
- a new instance of
StorageTransferJobScheduleScheduleStartDate - Throws:
NullPointerException- if any required attribute was not provided
-
-