Class CfnStateMachine.ScheduleEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnStateMachine.ScheduleEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.ScheduleEventProperty>
- Enclosing interface:
CfnStateMachine.ScheduleEventProperty
@Stability(Stable)
public static final class CfnStateMachine.ScheduleEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.ScheduleEventProperty>
A builder for
CfnStateMachine.ScheduleEventProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStateMachine.ScheduleEventProperty.getInput()
Sets the value ofCfnStateMachine.ScheduleEventProperty.getSchedule()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schedule
Sets the value ofCfnStateMachine.ScheduleEventProperty.getSchedule()
- Parameters:
schedule
- the value to be set. This parameter is required.- Returns:
this
-
input
Sets the value ofCfnStateMachine.ScheduleEventProperty.getInput()
- Parameters:
input
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStateMachine.ScheduleEventProperty>
- Returns:
- a new instance of
CfnStateMachine.ScheduleEventProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-