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