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