Class StorageTransferJobScheduleScheduleEndDate.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_transfer_job.StorageTransferJobScheduleScheduleEndDate.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageTransferJobScheduleScheduleEndDate>
- Enclosing interface:
- StorageTransferJobScheduleScheduleEndDate
@Stability(Stable) public static final class StorageTransferJobScheduleScheduleEndDate.Builder extends Object implements software.amazon.jsii.Builder<StorageTransferJobScheduleScheduleEndDate>
A builder forStorageTransferJobScheduleScheduleEndDate
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageTransferJobScheduleScheduleEndDatebuild()Builds the configured instance.StorageTransferJobScheduleScheduleEndDate.Builderday(Number day)Sets the value ofStorageTransferJobScheduleScheduleEndDate.getDay()StorageTransferJobScheduleScheduleEndDate.Buildermonth(Number month)Sets the value ofStorageTransferJobScheduleScheduleEndDate.getMonth()StorageTransferJobScheduleScheduleEndDate.Builderyear(Number year)Sets the value ofStorageTransferJobScheduleScheduleEndDate.getYear()
-
-
-
Method Detail
-
day
@Stability(Stable) public StorageTransferJobScheduleScheduleEndDate.Builder day(Number day)
Sets the value ofStorageTransferJobScheduleScheduleEndDate.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 StorageTransferJobScheduleScheduleEndDate.Builder month(Number month)
Sets the value ofStorageTransferJobScheduleScheduleEndDate.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 StorageTransferJobScheduleScheduleEndDate.Builder year(Number year)
Sets the value ofStorageTransferJobScheduleScheduleEndDate.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 StorageTransferJobScheduleScheduleEndDate build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageTransferJobScheduleScheduleEndDate>- Returns:
- a new instance of
StorageTransferJobScheduleScheduleEndDate - Throws:
NullPointerException- if any required attribute was not provided
-
-