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