Class CfnJob.SchedulingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnJob.SchedulingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJob.SchedulingConfigProperty>
- Enclosing interface:
CfnJob.SchedulingConfigProperty
@Stability(Stable)
public static final class CfnJob.SchedulingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJob.SchedulingConfigProperty>
A builder for
CfnJob.SchedulingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endBehavior(String endBehavior) Sets the value ofCfnJob.SchedulingConfigProperty.getEndBehavior()Sets the value ofCfnJob.SchedulingConfigProperty.getEndTime()maintenanceWindows(List<? extends Object> maintenanceWindows) Sets the value ofCfnJob.SchedulingConfigProperty.getMaintenanceWindows()maintenanceWindows(IResolvable maintenanceWindows) Sets the value ofCfnJob.SchedulingConfigProperty.getMaintenanceWindows()Sets the value ofCfnJob.SchedulingConfigProperty.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endBehavior
Sets the value ofCfnJob.SchedulingConfigProperty.getEndBehavior()- Parameters:
endBehavior- Specifies the end behavior for all job executions after a job reaches the selected endTime.- Returns:
this
-
endTime
Sets the value ofCfnJob.SchedulingConfigProperty.getEndTime()- Parameters:
endTime- The time a job will stop rollout of the job document to all devices in the target group for a job.- Returns:
this
-
maintenanceWindows
@Stability(Stable) public CfnJob.SchedulingConfigProperty.Builder maintenanceWindows(IResolvable maintenanceWindows) Sets the value ofCfnJob.SchedulingConfigProperty.getMaintenanceWindows()- Parameters:
maintenanceWindows- An optional configuration within the SchedulingConfig to setup a recurring maintenance window.- Returns:
this
-
maintenanceWindows
@Stability(Stable) public CfnJob.SchedulingConfigProperty.Builder maintenanceWindows(List<? extends Object> maintenanceWindows) Sets the value ofCfnJob.SchedulingConfigProperty.getMaintenanceWindows()- Parameters:
maintenanceWindows- An optional configuration within the SchedulingConfig to setup a recurring maintenance window.- Returns:
this
-
startTime
Sets the value ofCfnJob.SchedulingConfigProperty.getStartTime()- Parameters:
startTime- The time a job will begin rollout of the job document to all devices in the target group for a job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJob.SchedulingConfigProperty>- Returns:
- a new instance of
CfnJob.SchedulingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-