Class CfnDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDestinationProps>
- Enclosing interface:
CfnDestinationProps
@Stability(Stable)
public static final class CfnDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDestinationProps>
A builder for
CfnDestinationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDestinationProps.getDescription()expression(String expression) Sets the value ofCfnDestinationProps.getExpression()expressionType(String expressionType) Sets the value ofCfnDestinationProps.getExpressionType()Sets the value ofCfnDestinationProps.getName()Sets the value ofCfnDestinationProps.getRoleArn()Sets the value ofCfnDestinationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
Sets the value ofCfnDestinationProps.getExpression()- Parameters:
expression- The rule name to send messages to. This parameter is required.- Returns:
this
-
expressionType
Sets the value ofCfnDestinationProps.getExpressionType()- Parameters:
expressionType- The type of value inExpression. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDestinationProps.getName()- Parameters:
name- The name of the new resource. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDestinationProps.getDescription()- Parameters:
description- The description of the new resource. Maximum length is 2048 characters.- Returns:
this
-
roleArn
Sets the value ofCfnDestinationProps.getRoleArn()- Parameters:
roleArn- The ARN of the IAM Role that authorizes the destination.- Returns:
this
-
tags
Sets the value ofCfnDestinationProps.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<CfnDestinationProps>- Returns:
- a new instance of
CfnDestinationProps - Throws:
NullPointerException- if any required attribute was not provided
-