Class MaintenanceWindow.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.MaintenanceWindow.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MaintenanceWindow>
- Enclosing interface:
MaintenanceWindow
@Stability(Experimental)
public static final class MaintenanceWindow.Builder
extends Object
implements software.amazon.jsii.Builder<MaintenanceWindow>
A builder for
MaintenanceWindow-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.day(MaintenanceDay day) Sets the value ofMaintenanceWindow.getDay()Sets the value ofMaintenanceWindow.getTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
day
Sets the value ofMaintenanceWindow.getDay()- Parameters:
day- A day of a week when the maintenance will happen. This parameter is required.- Returns:
this
-
time
Sets the value ofMaintenanceWindow.getTime()- Parameters:
time- The maintenance start time in UTC, 24-hour HH:MM format. This parameter is required. Minutes must be 00 (e.g., '02:00', '13:00').- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MaintenanceWindow>- Returns:
- a new instance of
MaintenanceWindow - Throws:
NullPointerException- if any required attribute was not provided
-