Class CfnSchedule.EventBridgeParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.scheduler.CfnSchedule.EventBridgeParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedule.EventBridgeParametersProperty>
- Enclosing interface:
- CfnSchedule.EventBridgeParametersProperty
@Stability(Stable)
public static final class CfnSchedule.EventBridgeParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedule.EventBridgeParametersProperty>
A builder for
CfnSchedule.EventBridgeParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.detailType
(String detailType) Sets the value ofCfnSchedule.EventBridgeParametersProperty.getDetailType()
Sets the value ofCfnSchedule.EventBridgeParametersProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detailType
@Stability(Stable) public CfnSchedule.EventBridgeParametersProperty.Builder detailType(String detailType) Sets the value ofCfnSchedule.EventBridgeParametersProperty.getDetailType()
- Parameters:
detailType
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnSchedule.EventBridgeParametersProperty.getSource()
- Parameters:
source
- The source of the event. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSchedule.EventBridgeParametersProperty>
- Returns:
- a new instance of
CfnSchedule.EventBridgeParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-