Class CfnSchedule.KinesisParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.scheduler.CfnSchedule.KinesisParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedule.KinesisParametersProperty>
- Enclosing interface:
CfnSchedule.KinesisParametersProperty
@Stability(Stable)
public static final class CfnSchedule.KinesisParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedule.KinesisParametersProperty>
A builder for
CfnSchedule.KinesisParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.partitionKey
(String partitionKey) Sets the value ofCfnSchedule.KinesisParametersProperty.getPartitionKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionKey
@Stability(Stable) public CfnSchedule.KinesisParametersProperty.Builder partitionKey(String partitionKey) Sets the value ofCfnSchedule.KinesisParametersProperty.getPartitionKey()
- Parameters:
partitionKey
- Specifies the shard to which EventBridge Scheduler sends the event. This parameter is required. For more information, see Amazon Kinesis Data Streams terminology and concepts in the Amazon Kinesis Streams Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSchedule.KinesisParametersProperty>
- Returns:
- a new instance of
CfnSchedule.KinesisParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-