Description of changes: Adding the Builder annotation to the ShutdownTask class.
The arguments for the ShutdownTask constructor have been modified to include shutdownNotification. As documented by the KinesisClientInternalApi annotation,
Any class/method/variable marked with this annotation is subject to breaking changes between minor releases.
As a result, the next release will be a new minor release. Users who implement a custom ShutdownTask can modify their implementation to use ShutdownTask.builder().build() rather than the default constructor.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: N/A
Description of changes: Adding the
Builder
annotation to theShutdownTask
class.The arguments for the
ShutdownTask
constructor have been modified to includeshutdownNotification
. As documented by the KinesisClientInternalApi annotation,As a result, the next release will be a new minor release. Users who implement a custom
ShutdownTask
can modify their implementation to useShutdownTask.builder().build()
rather than the default constructor.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.