text: /*
   * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  'use strict';
  Object.defineProperty(exports, "__esModule", { value: true });
  var ListTemplate2Builder = /** @class */ (function () {
      function ListTemplate2Builder() {
          this.template = { type: 'ListTemplate2' };
      }
      ListTemplate2Builder.prototype.setListItems = function (listItems) {
          this.template.listItems = listItems;
          return this;
      };
      ListTemplate2Builder.prototype.setTitle = function (title) {
          this.template.title = title;
          return this;
      };
      ListTemplate2Builder.prototype.setToken = function (token) {
          this.template.token = token;
          return this;
      };
      ListTemplate2Builder.prototype.setBackgroundImage = function (image) {
          this.template.backgroundImage = image;
          return this;
      };
      ListTemplate2Builder.prototype.setBackButtonBehavior = function (backButtonBehavior) {
          this.template.backButton = backButtonBehavior;
          return this;
      };
      ListTemplate2Builder.prototype.build = function () {
          return this.template;
      };
      return ListTemplate2Builder;
  }());
  exports.ListTemplate2Builder = ListTemplate2Builder;
  //# sourceMappingURL=listTemplate2Builder.js.map