Class CfnJobTemplate.MaintenanceWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJobTemplate.MaintenanceWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplate.MaintenanceWindowProperty>
- Enclosing interface:
- CfnJobTemplate.MaintenanceWindowProperty
@Stability(Stable)
public static final class CfnJobTemplate.MaintenanceWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplate.MaintenanceWindowProperty>
A builder for
CfnJobTemplate.MaintenanceWindowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.durationInMinutes(Number durationInMinutes) Sets the value ofCfnJobTemplate.MaintenanceWindowProperty.getDurationInMinutes()Sets the value ofCfnJobTemplate.MaintenanceWindowProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInMinutes
@Stability(Stable) public CfnJobTemplate.MaintenanceWindowProperty.Builder durationInMinutes(Number durationInMinutes) Sets the value ofCfnJobTemplate.MaintenanceWindowProperty.getDurationInMinutes()- Parameters:
durationInMinutes- Displays the duration of the next maintenance window.- Returns:
this
-
startTime
@Stability(Stable) public CfnJobTemplate.MaintenanceWindowProperty.Builder startTime(String startTime) Sets the value ofCfnJobTemplate.MaintenanceWindowProperty.getStartTime()- Parameters:
startTime- Displays the start time of the next maintenance window.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobTemplate.MaintenanceWindowProperty>- Returns:
- a new instance of
CfnJobTemplate.MaintenanceWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-