Class CfnDimension.Builder

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

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

    • create

      @Stability(Stable) public static CfnDimension.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 CfnDimension.Builder.
    • stringValues

      @Stability(Stable) public CfnDimension.Builder stringValues(List<String> stringValues)
      Specifies the value or list of values for the dimension.

      For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").

      Parameters:
      stringValues - Specifies the value or list of values for the dimension. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnDimension.Builder type(String type)
      Specifies the type of dimension.

      Supported types: TOPIC_FILTER.

      Parameters:
      type - Specifies the type of dimension. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnDimension.Builder name(String name)
      A unique identifier for the dimension.

      Parameters:
      name - A unique identifier for the dimension. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDimension.Builder tags(List<? extends CfnTag> tags)
      Metadata that can be used to manage the dimension.

      Parameters:
      tags - Metadata that can be used to manage the dimension. This parameter is required.
      Returns:
      this
    • build

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