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

com.pulumi.azurenative.datafactory.outputs.ZipDeflateReadSettingsResponse 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 ZipDeflateReadSettingsResponse {
    /**
     * @return Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean).
     * 
     */
    private @Nullable Object preserveZipFileNameAsFolder;
    /**
     * @return The Compression setting type.
     * Expected value is 'ZipDeflateReadSettings'.
     * 
     */
    private String type;

    private ZipDeflateReadSettingsResponse() {}
    /**
     * @return Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional preserveZipFileNameAsFolder() {
        return Optional.ofNullable(this.preserveZipFileNameAsFolder);
    }
    /**
     * @return The Compression setting type.
     * Expected value is 'ZipDeflateReadSettings'.
     * 
     */
    public String type() {
        return this.type;
    }

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

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

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

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