Class CfnDestinationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotwireless.CfnDestinationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDestinationMixinProps>
- Enclosing interface:
CfnDestinationMixinProps
@Stability(Stable)
public static final class CfnDestinationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDestinationMixinProps>
A builder for
CfnDestinationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDestinationMixinProps.getDescription()expression(String expression) Sets the value ofCfnDestinationMixinProps.getExpression()expressionType(String expressionType) Sets the value ofCfnDestinationMixinProps.getExpressionType()Sets the value ofCfnDestinationMixinProps.getName()Sets the value ofCfnDestinationMixinProps.getRoleArn()Sets the value ofCfnDestinationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnDestinationMixinProps.getDescription()- Parameters:
description- The description of the new resource. Maximum length is 2048 characters.- Returns:
this
-
expression
Sets the value ofCfnDestinationMixinProps.getExpression()- Parameters:
expression- The rule name to send messages to.- Returns:
this
-
expressionType
Sets the value ofCfnDestinationMixinProps.getExpressionType()- Parameters:
expressionType- The type of value inExpression.- Returns:
this
-
name
Sets the value ofCfnDestinationMixinProps.getName()- Parameters:
name- The name of the new resource.- Returns:
this
-
roleArn
Sets the value ofCfnDestinationMixinProps.getRoleArn()- Parameters:
roleArn- The ARN of the IAM Role that authorizes the destination.- Returns:
this
-
tags
Sets the value ofCfnDestinationMixinProps.getTags()- Parameters:
tags- The tags are an array of key-value pairs to attach to the specified resource. Tags can have a minimum of 0 and a maximum of 50 items.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDestinationMixinProps>- Returns:
- a new instance of
CfnDestinationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-