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

com.pulumi.aws.dynamodb.inputs.TableImportTableInputFormatOptionsCsvArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.dynamodb.inputs;

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


public final class TableImportTableInputFormatOptionsCsvArgs extends com.pulumi.resources.ResourceArgs {

    public static final TableImportTableInputFormatOptionsCsvArgs Empty = new TableImportTableInputFormatOptionsCsvArgs();

    /**
     * The delimiter used for separating items in the CSV file being imported.
     * 
     */
    @Import(name="delimiter")
    private @Nullable Output delimiter;

    /**
     * @return The delimiter used for separating items in the CSV file being imported.
     * 
     */
    public Optional> delimiter() {
        return Optional.ofNullable(this.delimiter);
    }

    /**
     * List of the headers used to specify a common header for all source CSV files being imported.
     * 
     */
    @Import(name="headerLists")
    private @Nullable Output> headerLists;

    /**
     * @return List of the headers used to specify a common header for all source CSV files being imported.
     * 
     */
    public Optional>> headerLists() {
        return Optional.ofNullable(this.headerLists);
    }

    private TableImportTableInputFormatOptionsCsvArgs() {}

    private TableImportTableInputFormatOptionsCsvArgs(TableImportTableInputFormatOptionsCsvArgs $) {
        this.delimiter = $.delimiter;
        this.headerLists = $.headerLists;
    }

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

    public static final class Builder {
        private TableImportTableInputFormatOptionsCsvArgs $;

        public Builder() {
            $ = new TableImportTableInputFormatOptionsCsvArgs();
        }

        public Builder(TableImportTableInputFormatOptionsCsvArgs defaults) {
            $ = new TableImportTableInputFormatOptionsCsvArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param delimiter The delimiter used for separating items in the CSV file being imported.
         * 
         * @return builder
         * 
         */
        public Builder delimiter(@Nullable Output delimiter) {
            $.delimiter = delimiter;
            return this;
        }

        /**
         * @param delimiter The delimiter used for separating items in the CSV file being imported.
         * 
         * @return builder
         * 
         */
        public Builder delimiter(String delimiter) {
            return delimiter(Output.of(delimiter));
        }

        /**
         * @param headerLists List of the headers used to specify a common header for all source CSV files being imported.
         * 
         * @return builder
         * 
         */
        public Builder headerLists(@Nullable Output> headerLists) {
            $.headerLists = headerLists;
            return this;
        }

        /**
         * @param headerLists List of the headers used to specify a common header for all source CSV files being imported.
         * 
         * @return builder
         * 
         */
        public Builder headerLists(List headerLists) {
            return headerLists(Output.of(headerLists));
        }

        /**
         * @param headerLists List of the headers used to specify a common header for all source CSV files being imported.
         * 
         * @return builder
         * 
         */
        public Builder headerLists(String... headerLists) {
            return headerLists(List.of(headerLists));
        }

        public TableImportTableInputFormatOptionsCsvArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy