Interface CreateDimensionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateDimensionRequest.Builder,CreateDimensionRequest>, IotRequest.Builder, SdkBuilder<CreateDimensionRequest.Builder,CreateDimensionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateDimensionRequest

public static interface CreateDimensionRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateDimensionRequest.Builder,CreateDimensionRequest>
  • Method Details

    • name

      A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

      Parameters:
      name - A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Specifies the type of dimension. Supported types: TOPIC_FILTER.

      Parameters:
      type - Specifies the type of dimension. Supported types: TOPIC_FILTER.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Specifies the type of dimension. Supported types: TOPIC_FILTER.

      Parameters:
      type - Specifies the type of dimension. Supported types: TOPIC_FILTER.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stringValues

      CreateDimensionRequest.Builder stringValues(Collection<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. For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stringValues

      CreateDimensionRequest.Builder stringValues(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. For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Metadata that can be used to manage the dimension.

      Parameters:
      tags - Metadata that can be used to manage the dimension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Metadata that can be used to manage the dimension.

      Parameters:
      tags - Metadata that can be used to manage the dimension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Metadata that can be used to manage the dimension.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientRequestToken

      CreateDimensionRequest.Builder clientRequestToken(String clientRequestToken)

      Each dimension must have a unique client request token. If you try to create a new dimension with the same token as a dimension that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

      Parameters:
      clientRequestToken - Each dimension must have a unique client request token. If you try to create a new dimension with the same token as a dimension that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateDimensionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.