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

com.azure.resourcemanager.applicationinsights.models.MyWorkbookManagedIdentity Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2022-04-01.

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

package com.azure.resourcemanager.applicationinsights.models;

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

/** Customer Managed Identity. */
@Fluent
public class MyWorkbookManagedIdentity {
    /*
     * Customer Managed Identity
     */
    @JsonProperty(value = "userAssignedIdentities")
    private MyWorkbookUserAssignedIdentities userAssignedIdentities;

    /*
     * The identity type.
     */
    @JsonProperty(value = "type")
    private MyWorkbookManagedIdentityType type;

    /**
     * Get the userAssignedIdentities property: Customer Managed Identity.
     *
     * @return the userAssignedIdentities value.
     */
    public MyWorkbookUserAssignedIdentities userAssignedIdentities() {
        return this.userAssignedIdentities;
    }

    /**
     * Set the userAssignedIdentities property: Customer Managed Identity.
     *
     * @param userAssignedIdentities the userAssignedIdentities value to set.
     * @return the MyWorkbookManagedIdentity object itself.
     */
    public MyWorkbookManagedIdentity withUserAssignedIdentities(
        MyWorkbookUserAssignedIdentities userAssignedIdentities) {
        this.userAssignedIdentities = userAssignedIdentities;
        return this;
    }

    /**
     * Get the type property: The identity type.
     *
     * @return the type value.
     */
    public MyWorkbookManagedIdentityType type() {
        return this.type;
    }

    /**
     * Set the type property: The identity type.
     *
     * @param type the type value to set.
     * @return the MyWorkbookManagedIdentity object itself.
     */
    public MyWorkbookManagedIdentity withType(MyWorkbookManagedIdentityType type) {
        this.type = type;
        return this;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy