Class CfnDataIntegration.ScheduleConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appintegrations.CfnDataIntegration.ScheduleConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataIntegration.ScheduleConfigProperty>
- Enclosing interface:
CfnDataIntegration.ScheduleConfigProperty
@Stability(Stable)
public static final class CfnDataIntegration.ScheduleConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataIntegration.ScheduleConfigProperty>
A builder for
CfnDataIntegration.ScheduleConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.firstExecutionFrom
(String firstExecutionFrom) Sets the value ofCfnDataIntegration.ScheduleConfigProperty.getFirstExecutionFrom()
Sets the value ofCfnDataIntegration.ScheduleConfigProperty.getObject()
scheduleExpression
(String scheduleExpression) Sets the value ofCfnDataIntegration.ScheduleConfigProperty.getScheduleExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scheduleExpression
@Stability(Stable) public CfnDataIntegration.ScheduleConfigProperty.Builder scheduleExpression(String scheduleExpression) Sets the value ofCfnDataIntegration.ScheduleConfigProperty.getScheduleExpression()
- Parameters:
scheduleExpression
- How often the data should be pulled from data source. This parameter is required.- Returns:
this
-
firstExecutionFrom
@Stability(Stable) public CfnDataIntegration.ScheduleConfigProperty.Builder firstExecutionFrom(String firstExecutionFrom) Sets the value ofCfnDataIntegration.ScheduleConfigProperty.getFirstExecutionFrom()
- Parameters:
firstExecutionFrom
- The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.- Returns:
this
-
object
Sets the value ofCfnDataIntegration.ScheduleConfigProperty.getObject()
- Parameters:
object
- The name of the object to pull from the data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataIntegration.ScheduleConfigProperty>
- Returns:
- a new instance of
CfnDataIntegration.ScheduleConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-