Class CfnDestination.Builder

java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnDestination.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDestination>
Enclosing class:
CfnDestination

@Stability(Stable) public static final class CfnDestination.Builder extends Object implements software.amazon.jsii.Builder<CfnDestination>
A fluent builder for CfnDestination.
  • Method Details

    • create

      @Stability(Stable) public static CfnDestination.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDestination.Builder.
    • expression

      @Stability(Stable) public CfnDestination.Builder expression(String expression)
      The rule name to send messages to.

      Parameters:
      expression - The rule name to send messages to. This parameter is required.
      Returns:
      this
    • expressionType

      @Stability(Stable) public CfnDestination.Builder expressionType(String expressionType)
      The type of value in Expression .

      Parameters:
      expressionType - The type of value in Expression . This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnDestination.Builder name(String name)
      The name of the new resource.

      Parameters:
      name - The name of the new resource. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnDestination.Builder roleArn(String roleArn)
      The ARN of the IAM Role that authorizes the destination.

      Parameters:
      roleArn - The ARN of the IAM Role that authorizes the destination. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnDestination.Builder description(String description)
      The description of the new resource.

      Maximum length is 2048 characters.

      Parameters:
      description - The description of the new resource. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDestination.Builder tags(List<? extends CfnTag> 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.

      Parameters:
      tags - The tags are an array of key-value pairs to attach to the specified resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDestination build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDestination>
      Returns:
      a newly built instance of CfnDestination.