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

package com.azure.resourcemanager.mysqlflexibleserver.fluent.models;

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

/** BackupAndExport Response Properties. */
@Fluent
public final class BackupAndExportResponseProperties {
    /*
     * Size of datasource in bytes
     */
    @JsonProperty(value = "datasourceSizeInBytes")
    private Long datasourceSizeInBytes;

    /*
     * Data transferred in bytes
     */
    @JsonProperty(value = "dataTransferredInBytes")
    private Long dataTransferredInBytes;

    /*
     * Metadata related to backup to be stored for restoring resource in key-value pairs.
     */
    @JsonProperty(value = "backupMetadata")
    private String backupMetadata;

    /** Creates an instance of BackupAndExportResponseProperties class. */
    public BackupAndExportResponseProperties() {
    }

    /**
     * Get the datasourceSizeInBytes property: Size of datasource in bytes.
     *
     * @return the datasourceSizeInBytes value.
     */
    public Long datasourceSizeInBytes() {
        return this.datasourceSizeInBytes;
    }

    /**
     * Set the datasourceSizeInBytes property: Size of datasource in bytes.
     *
     * @param datasourceSizeInBytes the datasourceSizeInBytes value to set.
     * @return the BackupAndExportResponseProperties object itself.
     */
    public BackupAndExportResponseProperties withDatasourceSizeInBytes(Long datasourceSizeInBytes) {
        this.datasourceSizeInBytes = datasourceSizeInBytes;
        return this;
    }

    /**
     * Get the dataTransferredInBytes property: Data transferred in bytes.
     *
     * @return the dataTransferredInBytes value.
     */
    public Long dataTransferredInBytes() {
        return this.dataTransferredInBytes;
    }

    /**
     * Set the dataTransferredInBytes property: Data transferred in bytes.
     *
     * @param dataTransferredInBytes the dataTransferredInBytes value to set.
     * @return the BackupAndExportResponseProperties object itself.
     */
    public BackupAndExportResponseProperties withDataTransferredInBytes(Long dataTransferredInBytes) {
        this.dataTransferredInBytes = dataTransferredInBytes;
        return this;
    }

    /**
     * Get the backupMetadata property: Metadata related to backup to be stored for restoring resource in key-value
     * pairs.
     *
     * @return the backupMetadata value.
     */
    public String backupMetadata() {
        return this.backupMetadata;
    }

    /**
     * Set the backupMetadata property: Metadata related to backup to be stored for restoring resource in key-value
     * pairs.
     *
     * @param backupMetadata the backupMetadata value to set.
     * @return the BackupAndExportResponseProperties object itself.
     */
    public BackupAndExportResponseProperties withBackupMetadata(String backupMetadata) {
        this.backupMetadata = backupMetadata;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
