Sha256: 3708d25d4535ebcb5e854c457bc11bff1f6f0ba7e42fdccaf5a664f7df60b0f6

Contents?: true

Size: 837 Bytes

Versions: 9

Compression:

Stored size: 837 Bytes

Contents

package org.embulk.input.s3;

import com.google.common.base.Optional;
import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.Task;

/**
 * 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")
    public String getHost();

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

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
embulk-input-s3-0.2.21 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.20 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.19 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.16 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.15 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.14 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.13 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.12 src/main/java/org/embulk/input/s3/HttpProxy.java
embulk-input-s3-0.2.11 src/main/java/org/embulk/input/s3/HttpProxy.java