/** * The RestoreSource model module. * @module Ntnx/RestoreSource * @version 4.4.2 * @class RestoreSource * @extends ExternalizableAbstractModel */ export default class RestoreSource extends ExternalizableAbstractModel { /** * Returns The location of the backup target. For example, a cluster or an object store endpoint such as AWS s3. * @return {ClusterLocation | ObjectStoreLocation} */ getLocation(): ClusterLocation | ObjectStoreLocation; /** * Sets The location of the backup target. For example, a cluster or an object store endpoint such as AWS s3. * @param {ClusterLocation | ObjectStoreLocation} location The location of the backup target. For example, a cluster or an object store endpoint such as AWS s3. */ setLocation(location: ClusterLocation | ObjectStoreLocation): void; location: ClusterLocation | ObjectStoreLocation; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import ClusterLocation from "./ClusterLocation"; import ObjectStoreLocation from "./ObjectStoreLocation";