Class CfnSchedulePropsMixin.EventBridgeParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.scheduler.mixins.CfnSchedulePropsMixin.EventBridgeParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedulePropsMixin.EventBridgeParametersProperty>
- Enclosing interface:
CfnSchedulePropsMixin.EventBridgeParametersProperty
@Stability(Stable)
public static final class CfnSchedulePropsMixin.EventBridgeParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedulePropsMixin.EventBridgeParametersProperty>
A builder for
CfnSchedulePropsMixin.EventBridgeParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.detailType(String detailType) Sets the value ofCfnSchedulePropsMixin.EventBridgeParametersProperty.getDetailType()Sets the value ofCfnSchedulePropsMixin.EventBridgeParametersProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detailType
@Stability(Stable) public CfnSchedulePropsMixin.EventBridgeParametersProperty.Builder detailType(String detailType) Sets the value ofCfnSchedulePropsMixin.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.- Returns:
this
-
source
@Stability(Stable) public CfnSchedulePropsMixin.EventBridgeParametersProperty.Builder source(String source) Sets the value ofCfnSchedulePropsMixin.EventBridgeParametersProperty.getSource()- Parameters:
source- The source of the event.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchedulePropsMixin.EventBridgeParametersProperty>- Returns:
- a new instance of
CfnSchedulePropsMixin.EventBridgeParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-