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

com.pulumi.azurenative.machinelearningservices.inputs.UriFileDataVersionArgs 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.machinelearningservices.inputs;

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


/**
 * uri-file data version entity
 * 
 */
public final class UriFileDataVersionArgs extends com.pulumi.resources.ResourceArgs {

    public static final UriFileDataVersionArgs Empty = new UriFileDataVersionArgs();

    /**
     * Enum to determine the type of data.
     * Expected value is 'uri_file'.
     * 
     */
    @Import(name="dataType", required=true)
    private Output dataType;

    /**
     * @return Enum to determine the type of data.
     * Expected value is 'uri_file'.
     * 
     */
    public Output dataType() {
        return this.dataType;
    }

    /**
     * [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330
     * 
     */
    @Import(name="dataUri", required=true)
    private Output dataUri;

    /**
     * @return [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330
     * 
     */
    public Output dataUri() {
        return this.dataUri;
    }

    /**
     * The asset description text.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

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

    /**
     * If the name version are system generated (anonymous registration).
     * 
     */
    @Import(name="isAnonymous")
    private @Nullable Output isAnonymous;

    /**
     * @return If the name version are system generated (anonymous registration).
     * 
     */
    public Optional> isAnonymous() {
        return Optional.ofNullable(this.isAnonymous);
    }

    /**
     * Is the asset archived?
     * 
     */
    @Import(name="isArchived")
    private @Nullable Output isArchived;

    /**
     * @return Is the asset archived?
     * 
     */
    public Optional> isArchived() {
        return Optional.ofNullable(this.isArchived);
    }

    /**
     * The asset property dictionary.
     * 
     */
    @Import(name="properties")
    private @Nullable Output> properties;

    /**
     * @return The asset property dictionary.
     * 
     */
    public Optional>> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private UriFileDataVersionArgs() {}

    private UriFileDataVersionArgs(UriFileDataVersionArgs $) {
        this.dataType = $.dataType;
        this.dataUri = $.dataUri;
        this.description = $.description;
        this.isAnonymous = $.isAnonymous;
        this.isArchived = $.isArchived;
        this.properties = $.properties;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private UriFileDataVersionArgs $;

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

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

        /**
         * @param dataType Enum to determine the type of data.
         * Expected value is 'uri_file'.
         * 
         * @return builder
         * 
         */
        public Builder dataType(Output dataType) {
            $.dataType = dataType;
            return this;
        }

        /**
         * @param dataType Enum to determine the type of data.
         * Expected value is 'uri_file'.
         * 
         * @return builder
         * 
         */
        public Builder dataType(String dataType) {
            return dataType(Output.of(dataType));
        }

        /**
         * @param dataUri [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330
         * 
         * @return builder
         * 
         */
        public Builder dataUri(Output dataUri) {
            $.dataUri = dataUri;
            return this;
        }

        /**
         * @param dataUri [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330
         * 
         * @return builder
         * 
         */
        public Builder dataUri(String dataUri) {
            return dataUri(Output.of(dataUri));
        }

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

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

        /**
         * @param isAnonymous If the name version are system generated (anonymous registration).
         * 
         * @return builder
         * 
         */
        public Builder isAnonymous(@Nullable Output isAnonymous) {
            $.isAnonymous = isAnonymous;
            return this;
        }

        /**
         * @param isAnonymous If the name version are system generated (anonymous registration).
         * 
         * @return builder
         * 
         */
        public Builder isAnonymous(Boolean isAnonymous) {
            return isAnonymous(Output.of(isAnonymous));
        }

        /**
         * @param isArchived Is the asset archived?
         * 
         * @return builder
         * 
         */
        public Builder isArchived(@Nullable Output isArchived) {
            $.isArchived = isArchived;
            return this;
        }

        /**
         * @param isArchived Is the asset archived?
         * 
         * @return builder
         * 
         */
        public Builder isArchived(Boolean isArchived) {
            return isArchived(Output.of(isArchived));
        }

        /**
         * @param properties The asset property dictionary.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output> properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties The asset property dictionary.
         * 
         * @return builder
         * 
         */
        public Builder properties(Map properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param tags Tag dictionary. Tags can be added, removed, and updated.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Tag dictionary. Tags can be added, removed, and updated.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public UriFileDataVersionArgs build() {
            $.dataType = Codegen.stringProp("dataType").output().arg($.dataType).require();
            if ($.dataUri == null) {
                throw new MissingRequiredPropertyException("UriFileDataVersionArgs", "dataUri");
            }
            $.isAnonymous = Codegen.booleanProp("isAnonymous").output().arg($.isAnonymous).def(false).getNullable();
            $.isArchived = Codegen.booleanProp("isArchived").output().arg($.isArchived).def(false).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy