Interface DisplayOrder.Builder

  • Method Details

    • contents

      Represents a list of sections which include section name and list of product REST endpoints for a product.

      Parameters:
      contents - Represents a list of sections which include section name and list of product REST endpoints for a product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contents

      DisplayOrder.Builder contents(Section... contents)

      Represents a list of sections which include section name and list of product REST endpoints for a product.

      Parameters:
      contents - Represents a list of sections which include section name and list of product REST endpoints for a product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contents

      Represents a list of sections which include section name and list of product REST endpoints for a product.

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

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

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

      DisplayOrder.Builder overviewPageArn(String overviewPageArn)

      The ARN of the overview page.

      Parameters:
      overviewPageArn - The ARN of the overview page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • productPageArns

      DisplayOrder.Builder productPageArns(Collection<String> productPageArns)

      The product page ARNs.

      Parameters:
      productPageArns - The product page ARNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • productPageArns

      DisplayOrder.Builder productPageArns(String... productPageArns)

      The product page ARNs.

      Parameters:
      productPageArns - The product page ARNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.