Class DataprocMetastoreServiceMaintenanceWindow.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_metastore_service.DataprocMetastoreServiceMaintenanceWindow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocMetastoreServiceMaintenanceWindow>
- Enclosing interface:
- DataprocMetastoreServiceMaintenanceWindow
@Stability(Stable) public static final class DataprocMetastoreServiceMaintenanceWindow.Builder extends Object implements software.amazon.jsii.Builder<DataprocMetastoreServiceMaintenanceWindow>
A builder forDataprocMetastoreServiceMaintenanceWindow
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataprocMetastoreServiceMaintenanceWindowbuild()Builds the configured instance.DataprocMetastoreServiceMaintenanceWindow.BuilderdayOfWeek(String dayOfWeek)Sets the value ofDataprocMetastoreServiceMaintenanceWindow.getDayOfWeek()DataprocMetastoreServiceMaintenanceWindow.BuilderhourOfDay(Number hourOfDay)Sets the value ofDataprocMetastoreServiceMaintenanceWindow.getHourOfDay()
-
-
-
Method Detail
-
dayOfWeek
@Stability(Stable) public DataprocMetastoreServiceMaintenanceWindow.Builder dayOfWeek(String dayOfWeek)
Sets the value ofDataprocMetastoreServiceMaintenanceWindow.getDayOfWeek()- Parameters:
dayOfWeek- The day of week, when the window starts. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#day_of_week DataprocMetastoreService#day_of_week}- Returns:
this
-
hourOfDay
@Stability(Stable) public DataprocMetastoreServiceMaintenanceWindow.Builder hourOfDay(Number hourOfDay)
Sets the value ofDataprocMetastoreServiceMaintenanceWindow.getHourOfDay()- Parameters:
hourOfDay- The hour of day (0-23) when the window starts. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_metastore_service#hour_of_day DataprocMetastoreService#hour_of_day}- Returns:
this
-
build
@Stability(Stable) public DataprocMetastoreServiceMaintenanceWindow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocMetastoreServiceMaintenanceWindow>- Returns:
- a new instance of
DataprocMetastoreServiceMaintenanceWindow - Throws:
NullPointerException- if any required attribute was not provided
-
-