Interface BatchCreateCampaignAssetResult.Builder

  • Method Details

    • sourceAssetTemplateId

      BatchCreateCampaignAssetResult.Builder sourceAssetTemplateId(String sourceAssetTemplateId)

      The entry's request identifier.

      Parameters:
      sourceAssetTemplateId - The entry's request identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The asset's identifier, derived from (CampaignId, SourceAssetTemplateId) rather than minted, so the same entry always resolves to the same id.

      Parameters:
      id - The asset's identifier, derived from (CampaignId, SourceAssetTemplateId) rather than minted, so the same entry always resolves to the same id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layout

      For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back. Nothing is selected at creation. Absent for a single-layout blueprint.

      Parameters:
      layout - For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back. Nothing is selected at creation. Absent for a single-layout blueprint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • layout

      For a multi-layout blueprint, the asset's layout options, so a client can render the first layout picker without reading each asset back. Nothing is selected at creation. Absent for a single-layout blueprint.

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

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

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