Interface LayoutPreview.Builder

  • Method Details

    • format

      LayoutPreview.Builder format(String format)

      The format of the referenced object.

      Parameters:
      format - The format of the referenced object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The format of the referenced object.

      Parameters:
      format - The format of the referenced object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • url

      A stable URL serving the object. Not presigned, so it does not expire.

      Parameters:
      url - A stable URL serving the object. Not presigned, so it does not expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pageType

      LayoutPreview.Builder pageType(String pageType)

      Which page of a multi-page layout this is. Present only for LANDING_PAGE, which genuinely has two layout objects — the page carrying the form, and the confirmation page shown after submit — and absent for every other category, which has one.

      A confirmation page is a second LAYOUT, never a second asset: modelling it as its own asset would give it a lifecycle, an activation and a state it does not have.

      Parameters:
      pageType - Which page of a multi-page layout this is. Present only for LANDING_PAGE, which genuinely has two layout objects — the page carrying the form, and the confirmation page shown after submit — and absent for every other category, which has one.

      A confirmation page is a second LAYOUT, never a second asset: modelling it as its own asset would give it a lifecycle, an activation and a state it does not have.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pageType

      Which page of a multi-page layout this is. Present only for LANDING_PAGE, which genuinely has two layout objects — the page carrying the form, and the confirmation page shown after submit — and absent for every other category, which has one.

      A confirmation page is a second LAYOUT, never a second asset: modelling it as its own asset would give it a lifecycle, an activation and a state it does not have.

      Parameters:
      pageType - Which page of a multi-page layout this is. Present only for LANDING_PAGE, which genuinely has two layout objects — the page carrying the form, and the confirmation page shown after submit — and absent for every other category, which has one.

      A confirmation page is a second LAYOUT, never a second asset: modelling it as its own asset would give it a lifecycle, an activation and a state it does not have.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: