Sha256: 2c44bf8ad434f1a8996067c427377ea95e879c9cddc8544ddf32aad53d353ec1

Contents?: true

Size: 790 Bytes

Versions: 6

Compression:

Stored size: 790 Bytes

Contents

package org.embulk.input.s3;

import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.Task;

import java.util.Optional;

/**
 * HttpProxy is config unit for Input/Output plugins' configs.
 *
 * TODO: This unit will be moved to embulk/embulk-plugin-units.git.
 * TODO: Consider using @JsonProperty(defaultValue=...) in Jackson 2.6+.
 */
public interface HttpProxy
    extends Task
{
    @Config("host")
    String getHost();

    @Config("port")
    @ConfigDefault("null")
    Optional<Integer> getPort();

    @Config("https")
    @ConfigDefault("true")
    boolean getHttps();

    @Config("user")
    @ConfigDefault("null")
    Optional<String> getUser();

    @Config("password")
    @ConfigDefault("null")
    Optional<String> getPassword();
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
embulk-input-s3-0.3.5 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.3.4 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.3.3 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.3.2 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.3.1 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.3.0 src/main/java/org/embulk/input/s3/HttpProxy.java