Class CfnFlow.MaintenanceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlow.MaintenanceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.MaintenanceProperty>
- Enclosing interface:
CfnFlow.MaintenanceProperty
@Stability(Stable)
public static final class CfnFlow.MaintenanceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.MaintenanceProperty>
A builder for
CfnFlow.MaintenanceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maintenanceDay
(String maintenanceDay) Sets the value ofCfnFlow.MaintenanceProperty.getMaintenanceDay()
maintenanceStartHour
(String maintenanceStartHour) Sets the value ofCfnFlow.MaintenanceProperty.getMaintenanceStartHour()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maintenanceDay
Sets the value ofCfnFlow.MaintenanceProperty.getMaintenanceDay()
- Parameters:
maintenanceDay
- A day of a week when the maintenance will happen. This parameter is required. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.- Returns:
this
-
maintenanceStartHour
@Stability(Stable) public CfnFlow.MaintenanceProperty.Builder maintenanceStartHour(String maintenanceStartHour) Sets the value ofCfnFlow.MaintenanceProperty.getMaintenanceStartHour()
- Parameters:
maintenanceStartHour
- UTC time when the maintenance will happen. This parameter is required. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.MaintenanceProperty>
- Returns:
- a new instance of
CfnFlow.MaintenanceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-