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

com.pulumi.azurenative.importexport.outputs.ExportResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.importexport.outputs;

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

@CustomType
public final class ExportResponse {
    /**
     * @return The relative URI to the block blob that contains the list of blob paths or blob path prefixes as defined above, beginning with the container name. If the blob is in root container, the URI must begin with $root.
     * 
     */
    private @Nullable String blobListBlobPath;
    /**
     * @return A collection of blob-path strings.
     * 
     */
    private @Nullable List blobPath;
    /**
     * @return A collection of blob-prefix strings.
     * 
     */
    private @Nullable List blobPathPrefix;

    private ExportResponse() {}
    /**
     * @return The relative URI to the block blob that contains the list of blob paths or blob path prefixes as defined above, beginning with the container name. If the blob is in root container, the URI must begin with $root.
     * 
     */
    public Optional blobListBlobPath() {
        return Optional.ofNullable(this.blobListBlobPath);
    }
    /**
     * @return A collection of blob-path strings.
     * 
     */
    public List blobPath() {
        return this.blobPath == null ? List.of() : this.blobPath;
    }
    /**
     * @return A collection of blob-prefix strings.
     * 
     */
    public List blobPathPrefix() {
        return this.blobPathPrefix == null ? List.of() : this.blobPathPrefix;
    }

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

    public static Builder builder(ExportResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String blobListBlobPath;
        private @Nullable List blobPath;
        private @Nullable List blobPathPrefix;
        public Builder() {}
        public Builder(ExportResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.blobListBlobPath = defaults.blobListBlobPath;
    	      this.blobPath = defaults.blobPath;
    	      this.blobPathPrefix = defaults.blobPathPrefix;
        }

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

            this.blobListBlobPath = blobListBlobPath;
            return this;
        }
        @CustomType.Setter
        public Builder blobPath(@Nullable List blobPath) {

            this.blobPath = blobPath;
            return this;
        }
        public Builder blobPath(String... blobPath) {
            return blobPath(List.of(blobPath));
        }
        @CustomType.Setter
        public Builder blobPathPrefix(@Nullable List blobPathPrefix) {

            this.blobPathPrefix = blobPathPrefix;
            return this;
        }
        public Builder blobPathPrefix(String... blobPathPrefix) {
            return blobPathPrefix(List.of(blobPathPrefix));
        }
        public ExportResponse build() {
            final var _resultValue = new ExportResponse();
            _resultValue.blobListBlobPath = blobListBlobPath;
            _resultValue.blobPath = blobPath;
            _resultValue.blobPathPrefix = blobPathPrefix;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy