public static interface RegisterStreamConsumerResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<RegisterStreamConsumerResponse.Builder,RegisterStreamConsumerResponse>
Modifier and Type | Method and Description |
---|---|
RegisterStreamConsumerResponse.Builder |
consumer(Consumer consumer)
An object that represents the details of the consumer you registered.
|
default RegisterStreamConsumerResponse.Builder |
consumer(Consumer<Consumer.Builder> consumer)
An object that represents the details of the consumer you registered.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
RegisterStreamConsumerResponse.Builder consumer(Consumer consumer)
An object that represents the details of the consumer you registered. When you register a consumer, it gets an ARN that is generated by Kinesis Data Streams.
consumer
- An object that represents the details of the consumer you registered. When you register a consumer, it
gets an ARN that is generated by Kinesis Data Streams.default RegisterStreamConsumerResponse.Builder consumer(Consumer<Consumer.Builder> consumer)
An object that represents the details of the consumer you registered. When you register a consumer, it gets an ARN that is generated by Kinesis Data Streams.
This is a convenience method that creates an instance of theConsumer.Builder
avoiding the need to
create one manually via Consumer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to consumer(Consumer)
.
consumer
- a consumer that will call methods on Consumer.Builder
consumer(Consumer)
Copyright © 2023. All rights reserved.