Interface CampaignAssetLayoutOption.Builder

  • Method Details

    • value

      The value that selects this option.

      Parameters:
      value - The value that selects this option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • label

      Display label.

      Parameters:
      label - Display label.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldIds

      The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.

      Parameters:
      fieldIds - The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldIds

      The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.

      Parameters:
      fieldIds - The fields this option uses: the FieldValues that stay in scope when it is selected. Lets a client show an option's form before selecting it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layoutPreviews

      This option's pages, in page order.

      Parameters:
      layoutPreviews - This option's pages, in page order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layoutPreviews

      CampaignAssetLayoutOption.Builder layoutPreviews(LayoutPreview... layoutPreviews)

      This option's pages, in page order.

      Parameters:
      layoutPreviews - This option's pages, in page order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layoutPreviews

      This option's pages, in page order.

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

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

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