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

com.pulumi.azurenative.devices.inputs.ManagedIdentityArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.devices.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties of the Managed identity.
 * 
 */
public final class ManagedIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagedIdentityArgs Empty = new ManagedIdentityArgs();

    /**
     * The user assigned identity.
     * 
     */
    @Import(name="userAssignedIdentity")
    private @Nullable Output userAssignedIdentity;

    /**
     * @return The user assigned identity.
     * 
     */
    public Optional> userAssignedIdentity() {
        return Optional.ofNullable(this.userAssignedIdentity);
    }

    private ManagedIdentityArgs() {}

    private ManagedIdentityArgs(ManagedIdentityArgs $) {
        this.userAssignedIdentity = $.userAssignedIdentity;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ManagedIdentityArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ManagedIdentityArgs $;

        public Builder() {
            $ = new ManagedIdentityArgs();
        }

        public Builder(ManagedIdentityArgs defaults) {
            $ = new ManagedIdentityArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param userAssignedIdentity The user assigned identity.
         * 
         * @return builder
         * 
         */
        public Builder userAssignedIdentity(@Nullable Output userAssignedIdentity) {
            $.userAssignedIdentity = userAssignedIdentity;
            return this;
        }

        /**
         * @param userAssignedIdentity The user assigned identity.
         * 
         * @return builder
         * 
         */
        public Builder userAssignedIdentity(String userAssignedIdentity) {
            return userAssignedIdentity(Output.of(userAssignedIdentity));
        }

        public ManagedIdentityArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy