Interface RegisterStreamConsumerResponse.Builder

  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the Consumer.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).

      Parameters:
      consumer - a consumer that will call methods on Consumer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: