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

com.pulumi.azurenative.datafactory.outputs.ParquetFormatResponse 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.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 ParquetFormatResponse {
    /**
     * @return Deserializer. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object deserializer;
    /**
     * @return Serializer. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object serializer;
    /**
     * @return Type of dataset storage format.
     * Expected value is 'ParquetFormat'.
     * 
     */
    private String type;

    private ParquetFormatResponse() {}
    /**
     * @return Deserializer. Type: string (or Expression with resultType string).
     * 
     */
    public Optional deserializer() {
        return Optional.ofNullable(this.deserializer);
    }
    /**
     * @return Serializer. Type: string (or Expression with resultType string).
     * 
     */
    public Optional serializer() {
        return Optional.ofNullable(this.serializer);
    }
    /**
     * @return Type of dataset storage format.
     * Expected value is 'ParquetFormat'.
     * 
     */
    public String type() {
        return this.type;
    }

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

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

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

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

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