All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.authorization.implementation.HasCredential Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.authorization.implementation;

import com.azure.core.annotation.Fluent;

/** An interface representing a model that can attach a credential. */
@Fluent
interface HasCredential> {
    /**
     * Attach a credential to this model.
     *
     * @param credential the credential to attach to
     * @return the interface itself
     */
    T withCertificateCredential(CertificateCredentialImpl credential);
    /**
     * Attach a credential to this model.
     *
     * @param credential the credential to attach to
     * @return the interface itself
     */
    T withPasswordCredential(PasswordCredentialImpl credential);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy