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

com.pulumi.azurenative.datafactory.outputs.AzureBlobStorageLocationResponse Maven / Gradle / Ivy

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

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

@CustomType
public final class AzureBlobStorageLocationResponse {
    /**
     * @return Specify the container of azure blob. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object container;
    /**
     * @return Specify the file name of dataset. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object fileName;
    /**
     * @return Specify the folder path of dataset. Type: string (or Expression with resultType string)
     * 
     */
    private @Nullable Object folderPath;
    /**
     * @return Type of dataset storage location.
     * Expected value is 'AzureBlobStorageLocation'.
     * 
     */
    private String type;

    private AzureBlobStorageLocationResponse() {}
    /**
     * @return Specify the container of azure blob. Type: string (or Expression with resultType string).
     * 
     */
    public Optional container() {
        return Optional.ofNullable(this.container);
    }
    /**
     * @return Specify the file name of dataset. Type: string (or Expression with resultType string).
     * 
     */
    public Optional fileName() {
        return Optional.ofNullable(this.fileName);
    }
    /**
     * @return Specify the folder path of dataset. Type: string (or Expression with resultType string)
     * 
     */
    public Optional folderPath() {
        return Optional.ofNullable(this.folderPath);
    }
    /**
     * @return Type of dataset storage location.
     * Expected value is 'AzureBlobStorageLocation'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(AzureBlobStorageLocationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object container;
        private @Nullable Object fileName;
        private @Nullable Object folderPath;
        private String type;
        public Builder() {}
        public Builder(AzureBlobStorageLocationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.container = defaults.container;
    	      this.fileName = defaults.fileName;
    	      this.folderPath = defaults.folderPath;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder container(@Nullable Object container) {

            this.container = container;
            return this;
        }
        @CustomType.Setter
        public Builder fileName(@Nullable Object fileName) {

            this.fileName = fileName;
            return this;
        }
        @CustomType.Setter
        public Builder folderPath(@Nullable Object folderPath) {

            this.folderPath = folderPath;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("AzureBlobStorageLocationResponse", "type");
            }
            this.type = type;
            return this;
        }
        public AzureBlobStorageLocationResponse build() {
            final var _resultValue = new AzureBlobStorageLocationResponse();
            _resultValue.container = container;
            _resultValue.fileName = fileName;
            _resultValue.folderPath = folderPath;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}