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

com.pulumi.azurenative.machinelearning.outputs.BlobLocationResponse 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.machinelearning.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 BlobLocationResponse {
    /**
     * @return Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI)
     * 
     */
    private @Nullable String credentials;
    /**
     * @return The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload.
     * 
     */
    private String uri;

    private BlobLocationResponse() {}
    /**
     * @return Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI)
     * 
     */
    public Optional credentials() {
        return Optional.ofNullable(this.credentials);
    }
    /**
     * @return The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload.
     * 
     */
    public String uri() {
        return this.uri;
    }

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

    public static Builder builder(BlobLocationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String credentials;
        private String uri;
        public Builder() {}
        public Builder(BlobLocationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.credentials = defaults.credentials;
    	      this.uri = defaults.uri;
        }

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

            this.credentials = credentials;
            return this;
        }
        @CustomType.Setter
        public Builder uri(String uri) {
            if (uri == null) {
              throw new MissingRequiredPropertyException("BlobLocationResponse", "uri");
            }
            this.uri = uri;
            return this;
        }
        public BlobLocationResponse build() {
            final var _resultValue = new BlobLocationResponse();
            _resultValue.credentials = credentials;
            _resultValue.uri = uri;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy