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

package com.azure.storage.file.datalake.implementation.models;

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

/** The AclFailedEntry model. */
@JacksonXmlRootElement(localName = "AclFailedEntry")
@Fluent
public final class AclFailedEntry {
    /*
     * The name property.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * The type property.
     */
    @JsonProperty(value = "type")
    private String type;

    /*
     * The errorMessage property.
     */
    @JsonProperty(value = "errorMessage")
    private String errorMessage;

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

    /**
     * Get the name property: The name property.
     *
     * @return the name value.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Set the name property: The name property.
     *
     * @param name the name value to set.
     * @return the AclFailedEntry object itself.
     */
    public AclFailedEntry setName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the type property: The type property.
     *
     * @return the type value.
     */
    public String getType() {
        return this.type;
    }

    /**
     * Set the type property: The type property.
     *
     * @param type the type value to set.
     * @return the AclFailedEntry object itself.
     */
    public AclFailedEntry setType(String type) {
        this.type = type;
        return this;
    }

    /**
     * Get the errorMessage property: The errorMessage property.
     *
     * @return the errorMessage value.
     */
    public String getErrorMessage() {
        return this.errorMessage;
    }

    /**
     * Set the errorMessage property: The errorMessage property.
     *
     * @param errorMessage the errorMessage value to set.
     * @return the AclFailedEntry object itself.
     */
    public AclFailedEntry setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
        return this;
    }
}
