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