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

package com.azure.resourcemanager.eventgrid.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Client authentication settings for namespace resource. */
@Fluent
public final class ClientAuthenticationSettings {
    /*
     * Alternative authentication name sources related to client authentication settings for namespace resource.
     */
    @JsonProperty(value = "alternativeAuthenticationNameSources")
    private List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources;

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

    /**
     * Get the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client
     * authentication settings for namespace resource.
     *
     * @return the alternativeAuthenticationNameSources value.
     */
    public List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources() {
        return this.alternativeAuthenticationNameSources;
    }

    /**
     * Set the alternativeAuthenticationNameSources property: Alternative authentication name sources related to client
     * authentication settings for namespace resource.
     *
     * @param alternativeAuthenticationNameSources the alternativeAuthenticationNameSources value to set.
     * @return the ClientAuthenticationSettings object itself.
     */
    public ClientAuthenticationSettings withAlternativeAuthenticationNameSources(
        List<AlternativeAuthenticationNameSource> alternativeAuthenticationNameSources) {
        this.alternativeAuthenticationNameSources = alternativeAuthenticationNameSources;
        return this;
    }

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