public Target withKinesisParameters(KinesisParameters kinesisParameters) {
        setKinesisParameters(kinesisParameters);
        return this;
    }
<p>
The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream. If
you do not include this parameter, the default is to use the <code>eventId</code> as the partition key.
</p>

@param kinesisParameters
       The custom parameter you can use to control the shard assignment, when the target is a Kinesis data
       stream. If you do not include this parameter, the default is to use the <code>eventId</code> as the
       partition key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java