Class CfnStreamConsumerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnStreamConsumerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamConsumerMixinProps>
- Enclosing interface:
CfnStreamConsumerMixinProps
@Stability(Stable)
public static final class CfnStreamConsumerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamConsumerMixinProps>
A builder for
CfnStreamConsumerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.consumerName(String consumerName) Sets the value ofCfnStreamConsumerMixinProps.getConsumerName()Sets the value ofCfnStreamConsumerMixinProps.getStreamArn()Sets the value ofCfnStreamConsumerMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
consumerName
Sets the value ofCfnStreamConsumerMixinProps.getConsumerName()- Parameters:
consumerName- The name of the consumer is something you choose when you register the consumer.- Returns:
this
-
streamArn
Sets the value ofCfnStreamConsumerMixinProps.getStreamArn()- Parameters:
streamArn- The ARN of the stream with which you registered the consumer.- Returns:
this
-
tags
Sets the value ofCfnStreamConsumerMixinProps.getTags()- Parameters:
tags- An array of tags to be added to a specified Kinesis resource. A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamConsumerMixinProps>- Returns:
- a new instance of
CfnStreamConsumerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-