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

com.pulumi.azurenative.machinelearningservices.outputs.DataPathAssetReferenceResponse Maven / Gradle / Ivy

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

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

@CustomType
public final class DataPathAssetReferenceResponse {
    /**
     * @return ARM resource ID of the datastore where the asset is located.
     * 
     */
    private @Nullable String datastoreId;
    /**
     * @return The path of the file/directory in the datastore.
     * 
     */
    private @Nullable String path;
    /**
     * @return Enum to determine which reference method to use for an asset.
     * Expected value is 'DataPath'.
     * 
     */
    private String referenceType;

    private DataPathAssetReferenceResponse() {}
    /**
     * @return ARM resource ID of the datastore where the asset is located.
     * 
     */
    public Optional datastoreId() {
        return Optional.ofNullable(this.datastoreId);
    }
    /**
     * @return The path of the file/directory in the datastore.
     * 
     */
    public Optional path() {
        return Optional.ofNullable(this.path);
    }
    /**
     * @return Enum to determine which reference method to use for an asset.
     * Expected value is 'DataPath'.
     * 
     */
    public String referenceType() {
        return this.referenceType;
    }

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

    public static Builder builder(DataPathAssetReferenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String datastoreId;
        private @Nullable String path;
        private String referenceType;
        public Builder() {}
        public Builder(DataPathAssetReferenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.datastoreId = defaults.datastoreId;
    	      this.path = defaults.path;
    	      this.referenceType = defaults.referenceType;
        }

        @CustomType.Setter
        public Builder datastoreId(@Nullable String datastoreId) {

            this.datastoreId = datastoreId;
            return this;
        }
        @CustomType.Setter
        public Builder path(@Nullable String path) {

            this.path = path;
            return this;
        }
        @CustomType.Setter
        public Builder referenceType(String referenceType) {
            if (referenceType == null) {
              throw new MissingRequiredPropertyException("DataPathAssetReferenceResponse", "referenceType");
            }
            this.referenceType = referenceType;
            return this;
        }
        public DataPathAssetReferenceResponse build() {
            final var _resultValue = new DataPathAssetReferenceResponse();
            _resultValue.datastoreId = datastoreId;
            _resultValue.path = path;
            _resultValue.referenceType = referenceType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy