Class DatasyncTaskSchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.datasync_task.DatasyncTaskSchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatasyncTaskSchedule>
- Enclosing interface:
- DatasyncTaskSchedule
@Stability(Stable) public static final class DatasyncTaskSchedule.Builder extends Object implements software.amazon.jsii.Builder<DatasyncTaskSchedule>
A builder forDatasyncTaskSchedule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasyncTaskSchedulebuild()Builds the configured instance.DatasyncTaskSchedule.BuilderscheduleExpression(String scheduleExpression)Sets the value ofDatasyncTaskSchedule.getScheduleExpression()
-
-
-
Method Detail
-
scheduleExpression
@Stability(Stable) public DatasyncTaskSchedule.Builder scheduleExpression(String scheduleExpression)
Sets the value ofDatasyncTaskSchedule.getScheduleExpression()- Parameters:
scheduleExpression- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_task#schedule_expression DatasyncTask#schedule_expression}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DatasyncTaskSchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatasyncTaskSchedule>- Returns:
- a new instance of
DatasyncTaskSchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-