Class CfnChannel.MaintenanceCreateSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.MaintenanceCreateSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.MaintenanceCreateSettingsProperty>
- Enclosing interface:
CfnChannel.MaintenanceCreateSettingsProperty
@Stability(Stable)
public static final class CfnChannel.MaintenanceCreateSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.MaintenanceCreateSettingsProperty>
A builder for
CfnChannel.MaintenanceCreateSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maintenanceDay
(String maintenanceDay) Sets the value ofCfnChannel.MaintenanceCreateSettingsProperty.getMaintenanceDay()
maintenanceStartTime
(String maintenanceStartTime) Sets the value ofCfnChannel.MaintenanceCreateSettingsProperty.getMaintenanceStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maintenanceDay
@Stability(Stable) public CfnChannel.MaintenanceCreateSettingsProperty.Builder maintenanceDay(String maintenanceDay) Sets the value ofCfnChannel.MaintenanceCreateSettingsProperty.getMaintenanceDay()
- Parameters:
maintenanceDay
- Choose one day of the week for maintenance. The chosen day is used for all future maintenance windows.- Returns:
this
-
maintenanceStartTime
@Stability(Stable) public CfnChannel.MaintenanceCreateSettingsProperty.Builder maintenanceStartTime(String maintenanceStartTime) Sets the value ofCfnChannel.MaintenanceCreateSettingsProperty.getMaintenanceStartTime()
- Parameters:
maintenanceStartTime
- Choose the hour that maintenance will start. The chosen time is used for all future maintenance windows.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.MaintenanceCreateSettingsProperty>
- Returns:
- a new instance of
CfnChannel.MaintenanceCreateSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-