// *** 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.core.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final ResourceDeploymentScriptAzureCliIdentityArgs Empty = new ResourceDeploymentScriptAzureCliIdentityArgs();

    /**
     * Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="identityIds", required=true)
    private Output<List<String>> identityIds;

    /**
     * @return Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
     * 
     */
    public Output<List<String>> identityIds() {
        return this.identityIds;
    }

    /**
     * Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="type", required=true)
    private Output<String> type;

    /**
     * @return Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
     * 
     */
    public Output<String> type() {
        return this.type;
    }

    private ResourceDeploymentScriptAzureCliIdentityArgs() {}

    private ResourceDeploymentScriptAzureCliIdentityArgs(ResourceDeploymentScriptAzureCliIdentityArgs $) {
        this.identityIds = $.identityIds;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ResourceDeploymentScriptAzureCliIdentityArgs $;

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

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

        /**
         * @param identityIds Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder identityIds(Output<List<String>> identityIds) {
            $.identityIds = identityIds;
            return this;
        }

        /**
         * @param identityIds Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder identityIds(List<String> identityIds) {
            return identityIds(Output.of(identityIds));
        }

        /**
         * @param identityIds Specifies the list of user-assigned managed identity IDs associated with the resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder identityIds(String... identityIds) {
            return identityIds(List.of(identityIds));
        }

        /**
         * @param type Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder type(Output<String> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of the managed identity. The only possible value is `UserAssigned`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ResourceDeploymentScriptAzureCliIdentityArgs build() {
            $.identityIds = Objects.requireNonNull($.identityIds, "expected parameter 'identityIds' to be non-null");
            $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null");
            return $;
        }
    }

}
