Class CfnStreamConsumer.Builder

java.lang.Object
software.amazon.awscdk.services.kinesis.CfnStreamConsumer.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamConsumer>
Enclosing class:
CfnStreamConsumer

@Stability(Stable) public static final class CfnStreamConsumer.Builder extends Object implements software.amazon.jsii.Builder<CfnStreamConsumer>
A fluent builder for CfnStreamConsumer.
  • Method Details

    • create

      @Stability(Stable) public static CfnStreamConsumer.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnStreamConsumer.Builder.
    • consumerName

      @Stability(Stable) public CfnStreamConsumer.Builder consumerName(String consumerName)
      The name of the consumer is something you choose when you register the consumer.

      Parameters:
      consumerName - The name of the consumer is something you choose when you register the consumer. This parameter is required.
      Returns:
      this
    • streamArn

      @Stability(Stable) public CfnStreamConsumer.Builder streamArn(String streamArn)
      The ARN of the stream with which you registered the consumer.

      Parameters:
      streamArn - The ARN of the stream with which you registered the consumer. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnStreamConsumer build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStreamConsumer>
      Returns:
      a newly built instance of CfnStreamConsumer.