public KinesisParameters withPartitionKey(String partitionKey) {
        setPartitionKey(partitionKey);
        return this;
    }
<p>
Specifies the shard to which EventBridge Scheduler sends the event. For more information, see <a
href="https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html">Amazon Kinesis Data Streams terminology
and concepts</a> in the <i>Amazon Kinesis Streams Developer Guide</i>.
</p>

@param partitionKey
       Specifies the shard to which EventBridge Scheduler sends the event. For more information, see <a
       href="https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html">Amazon Kinesis Data Streams
       terminology and concepts</a> in the <i>Amazon Kinesis Streams Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/KinesisParameters.java