
com.azure.resourcemanager.datafactory.models.ManagedIdentityCredential Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.datafactory.models;
import com.azure.core.annotation.Fluent;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.datafactory.fluent.models.ManagedIdentityTypeProperties;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* Managed identity credential.
*/
@Fluent
public final class ManagedIdentityCredential extends Credential {
/*
* Type of credential.
*/
private String type = "ManagedIdentity";
/*
* Managed identity credential properties.
*/
private ManagedIdentityTypeProperties innerTypeProperties;
/**
* Creates an instance of ManagedIdentityCredential class.
*/
public ManagedIdentityCredential() {
}
/**
* Get the type property: Type of credential.
*
* @return the type value.
*/
@Override
public String type() {
return this.type;
}
/**
* Get the innerTypeProperties property: Managed identity credential properties.
*
* @return the innerTypeProperties value.
*/
private ManagedIdentityTypeProperties innerTypeProperties() {
return this.innerTypeProperties;
}
/**
* {@inheritDoc}
*/
@Override
public ManagedIdentityCredential withDescription(String description) {
super.withDescription(description);
return this;
}
/**
* {@inheritDoc}
*/
@Override
public ManagedIdentityCredential withAnnotations(List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy