Interface TopicCategoryFilterConstant.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>, SdkBuilder<TopicCategoryFilterConstant.Builder,TopicCategoryFilterConstant>, SdkPojo
Enclosing class:
TopicCategoryFilterConstant

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

    • constantType

      TopicCategoryFilterConstant.Builder constantType(String constantType)

      The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.

      Parameters:
      constantType - The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • constantType

      The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.

      Parameters:
      constantType - The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are SINGULAR and COLLECTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • singularConstant

      TopicCategoryFilterConstant.Builder singularConstant(String singularConstant)

      A singular constant used in a category filter. This element is used to specify a single value for the constant.

      Parameters:
      singularConstant - A singular constant used in a category filter. This element is used to specify a single value for the constant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectiveConstant

      TopicCategoryFilterConstant.Builder collectiveConstant(CollectiveConstant collectiveConstant)

      A collective constant used in a category filter. This element is used to specify a list of values for the constant.

      Parameters:
      collectiveConstant - A collective constant used in a category filter. This element is used to specify a list of values for the constant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectiveConstant

      default TopicCategoryFilterConstant.Builder collectiveConstant(Consumer<CollectiveConstant.Builder> collectiveConstant)

      A collective constant used in a category filter. This element is used to specify a list of values for the constant.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to collectiveConstant(CollectiveConstant).

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