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

package com.azure.ai.metricsadvisor.implementation.models;

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

/** The DataLakeGen2SharedKeyCredentialPatch model. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "dataSourceCredentialType")
@JsonTypeName("DataLakeGen2SharedKey")
@Fluent
public final class DataLakeGen2SharedKeyCredentialPatch extends DataSourceCredentialPatch {
    /*
     * The parameters property.
     */
    @JsonProperty(value = "parameters")
    private DataLakeGen2SharedKeyParamPatch parameters;

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

    /**
     * Get the parameters property: The parameters property.
     *
     * @return the parameters value.
     */
    public DataLakeGen2SharedKeyParamPatch getParameters() {
        return this.parameters;
    }

    /**
     * Set the parameters property: The parameters property.
     *
     * @param parameters the parameters value to set.
     * @return the DataLakeGen2SharedKeyCredentialPatch object itself.
     */
    public DataLakeGen2SharedKeyCredentialPatch setParameters(DataLakeGen2SharedKeyParamPatch parameters) {
        this.parameters = parameters;
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public DataLakeGen2SharedKeyCredentialPatch setDataSourceCredentialName(String dataSourceCredentialName) {
        super.setDataSourceCredentialName(dataSourceCredentialName);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public DataLakeGen2SharedKeyCredentialPatch setDataSourceCredentialDescription(
            String dataSourceCredentialDescription) {
        super.setDataSourceCredentialDescription(dataSourceCredentialDescription);
        return this;
    }
}
