DataLakeStorageError.java

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

package com.azure.storage.blob.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * The DataLakeStorageError model.
 */
@JacksonXmlRootElement(localName = "DataLakeStorageError")
@Fluent
public final class DataLakeStorageError {
    /*
     * The service error response object.
     */
    @JsonProperty(value = "error")
    private DataLakeStorageErrorError dataLakeStorageErrorDetails;

    /**
     * Get the dataLakeStorageErrorDetails property: The service error response
     * object.
     *
     * @return the dataLakeStorageErrorDetails value.
     */
    public DataLakeStorageErrorError getDataLakeStorageErrorDetails() {
        return this.dataLakeStorageErrorDetails;
    }

    /**
     * Set the dataLakeStorageErrorDetails property: The service error response
     * object.
     *
     * @param dataLakeStorageErrorDetails the dataLakeStorageErrorDetails value
     * to set.
     * @return the DataLakeStorageError object itself.
     */
    public DataLakeStorageError setDataLakeStorageErrorDetails(DataLakeStorageErrorError dataLakeStorageErrorDetails) {
        this.dataLakeStorageErrorDetails = dataLakeStorageErrorDetails;
        return this;
    }
}