Class CfnTopicRulePropsMixin.KafkaActionHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.KafkaActionHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRulePropsMixin.KafkaActionHeaderProperty>
- Enclosing interface:
CfnTopicRulePropsMixin.KafkaActionHeaderProperty
@Stability(Stable)
public static final class CfnTopicRulePropsMixin.KafkaActionHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRulePropsMixin.KafkaActionHeaderProperty>
A builder for
CfnTopicRulePropsMixin.KafkaActionHeaderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTopicRulePropsMixin.KafkaActionHeaderProperty.getKey()Sets the value ofCfnTopicRulePropsMixin.KafkaActionHeaderProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnTopicRulePropsMixin.KafkaActionHeaderProperty.getKey()- Parameters:
key- The key of the Kafka header.- Returns:
this
-
value
@Stability(Stable) public CfnTopicRulePropsMixin.KafkaActionHeaderProperty.Builder value(String value) Sets the value ofCfnTopicRulePropsMixin.KafkaActionHeaderProperty.getValue()- Parameters:
value- The value of the Kafka header.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRulePropsMixin.KafkaActionHeaderProperty>- Returns:
- a new instance of
CfnTopicRulePropsMixin.KafkaActionHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-