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

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

Go to download

This package contains Microsoft Azure Authorization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.46.0
Show newest version
// 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