public static final class CfnTask.TaskScheduleProperty.Builder
extends java.lang.Object
CfnTask.TaskScheduleProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnTask.TaskScheduleProperty |
build()
Builds the configured instance.
|
CfnTask.TaskScheduleProperty.Builder |
scheduleExpression(java.lang.String scheduleExpression)
Sets the value of
CfnTask.TaskScheduleProperty.getScheduleExpression() |
public CfnTask.TaskScheduleProperty.Builder scheduleExpression(java.lang.String scheduleExpression)
CfnTask.TaskScheduleProperty.getScheduleExpression()
scheduleExpression
- A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location. This parameter is required.this
public CfnTask.TaskScheduleProperty build()
CfnTask.TaskScheduleProperty
java.lang.NullPointerException
- if any required attribute was not provided