// *** 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.aws.sagemaker.outputs;

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

@CustomType
public final class DataQualityJobDefinitionDataQualityJobInputBatchTransformInputDatasetFormatCsv {
    /**
     * @return Indicates if the CSV data has a header.
     * 
     */
    private @Nullable Boolean header;

    private DataQualityJobDefinitionDataQualityJobInputBatchTransformInputDatasetFormatCsv() {}
    /**
     * @return Indicates if the CSV data has a header.
     * 
     */
    public Optional<Boolean> header() {
        return Optional.ofNullable(this.header);
    }

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

    public static Builder builder(DataQualityJobDefinitionDataQualityJobInputBatchTransformInputDatasetFormatCsv defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean header;
        public Builder() {}
        public Builder(DataQualityJobDefinitionDataQualityJobInputBatchTransformInputDatasetFormatCsv defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.header = defaults.header;
        }

        @CustomType.Setter
        public Builder header(@Nullable Boolean header) {
            this.header = header;
            return this;
        }
        public DataQualityJobDefinitionDataQualityJobInputBatchTransformInputDatasetFormatCsv build() {
            final var o = new DataQualityJobDefinitionDataQualityJobInputBatchTransformInputDatasetFormatCsv();
            o.header = header;
            return o;
        }
    }
}
