// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.callautomation.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The ExternalStorageInternal model. */
@Fluent
public final class ExternalStorageInternal {
    /*
     * Defines the type of external storage
     */
    @JsonProperty(value = "storageType", required = true)
    private RecordingStorageTypeInternal storageType;

    /*
     * Defines the blob storage location where the recording will be stored
     */
    @JsonProperty(value = "blobStorage")
    private BlobStorageInternal blobStorage;

    /**
     * Get the storageType property: Defines the type of external storage.
     *
     * @return the storageType value.
     */
    public RecordingStorageTypeInternal getStorageType() {
        return this.storageType;
    }

    /**
     * Set the storageType property: Defines the type of external storage.
     *
     * @param storageType the storageType value to set.
     * @return the ExternalStorageInternal object itself.
     */
    public ExternalStorageInternal setStorageType(RecordingStorageTypeInternal storageType) {
        this.storageType = storageType;
        return this;
    }

    /**
     * Get the blobStorage property: Defines the blob storage location where the recording will be stored.
     *
     * @return the blobStorage value.
     */
    public BlobStorageInternal getBlobStorage() {
        return this.blobStorage;
    }

    /**
     * Set the blobStorage property: Defines the blob storage location where the recording will be stored.
     *
     * @param blobStorage the blobStorage value to set.
     * @return the ExternalStorageInternal object itself.
     */
    public ExternalStorageInternal setBlobStorage(BlobStorageInternal blobStorage) {
        this.blobStorage = blobStorage;
        return this;
    }
}
