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

com.pulumi.azure.datafactory.CredentialUserManagedIdentityArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.datafactory;

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


public final class CredentialUserManagedIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final CredentialUserManagedIdentityArgs Empty = new CredentialUserManagedIdentityArgs();

    /**
     * (Optional) List of string annotations.
     * 
     */
    @Import(name="annotations")
    private @Nullable Output> annotations;

    /**
     * @return (Optional) List of string annotations.
     * 
     */
    public Optional>> annotations() {
        return Optional.ofNullable(this.annotations);
    }

    /**
     * The resource ID of the parent Data Factory
     * 
     */
    @Import(name="dataFactoryId", required=true)
    private Output dataFactoryId;

    /**
     * @return The resource ID of the parent Data Factory
     * 
     */
    public Output dataFactoryId() {
        return this.dataFactoryId;
    }

    /**
     * (Optional) Short text description
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return (Optional) Short text description
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The resource ID of the User Assigned Managed Identity
     * 
     */
    @Import(name="identityId", required=true)
    private Output identityId;

    /**
     * @return The resource ID of the User Assigned Managed Identity
     * 
     */
    public Output identityId() {
        return this.identityId;
    }

    /**
     * The desired name of the credential resource
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The desired name of the credential resource
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private CredentialUserManagedIdentityArgs() {}

    private CredentialUserManagedIdentityArgs(CredentialUserManagedIdentityArgs $) {
        this.annotations = $.annotations;
        this.dataFactoryId = $.dataFactoryId;
        this.description = $.description;
        this.identityId = $.identityId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private CredentialUserManagedIdentityArgs $;

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

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

        /**
         * @param annotations (Optional) List of string annotations.
         * 
         * @return builder
         * 
         */
        public Builder annotations(@Nullable Output> annotations) {
            $.annotations = annotations;
            return this;
        }

        /**
         * @param annotations (Optional) List of string annotations.
         * 
         * @return builder
         * 
         */
        public Builder annotations(List annotations) {
            return annotations(Output.of(annotations));
        }

        /**
         * @param annotations (Optional) List of string annotations.
         * 
         * @return builder
         * 
         */
        public Builder annotations(String... annotations) {
            return annotations(List.of(annotations));
        }

        /**
         * @param dataFactoryId The resource ID of the parent Data Factory
         * 
         * @return builder
         * 
         */
        public Builder dataFactoryId(Output dataFactoryId) {
            $.dataFactoryId = dataFactoryId;
            return this;
        }

        /**
         * @param dataFactoryId The resource ID of the parent Data Factory
         * 
         * @return builder
         * 
         */
        public Builder dataFactoryId(String dataFactoryId) {
            return dataFactoryId(Output.of(dataFactoryId));
        }

        /**
         * @param description (Optional) Short text description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description (Optional) Short text description
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param identityId The resource ID of the User Assigned Managed Identity
         * 
         * @return builder
         * 
         */
        public Builder identityId(Output identityId) {
            $.identityId = identityId;
            return this;
        }

        /**
         * @param identityId The resource ID of the User Assigned Managed Identity
         * 
         * @return builder
         * 
         */
        public Builder identityId(String identityId) {
            return identityId(Output.of(identityId));
        }

        /**
         * @param name The desired name of the credential resource
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The desired name of the credential resource
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public CredentialUserManagedIdentityArgs build() {
            if ($.dataFactoryId == null) {
                throw new MissingRequiredPropertyException("CredentialUserManagedIdentityArgs", "dataFactoryId");
            }
            if ($.identityId == null) {
                throw new MissingRequiredPropertyException("CredentialUserManagedIdentityArgs", "identityId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy