public class S3TapProps extends cascading.property.Props
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
S3_ENDPOINT
Field S3_ENDPOINT
|
static java.lang.String |
S3_PATH_STYLE_ACCESS
Field S3_PATH_STYLE_ACCESS
|
static java.lang.String |
S3_PROXY_HOST
Field S3_PROXY_HOST
|
static java.lang.String |
S3_PROXY_PORT
Field S3_PROXY_PORT
|
static java.lang.String |
S3_REGION
Field S3_REGION
|
| Constructor and Description |
|---|
S3TapProps()
Constructor S3TapProps creates a new S3TapProps instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPropertiesTo(java.util.Properties properties) |
java.lang.String |
getEndpoint()
Method getEndpoint returns the endpoint of this S3TapProps object.
|
java.lang.String |
getProxyHost()
Method getProxyHost returns the optional S3 proxy host of this S3TapProps object.
|
int |
getProxyPort()
Method getProxyPort returns the optional S3 proxy port this S3TapProps object will connect through
|
java.lang.String |
getRegion()
Method getRegion returns the region of this S3TapProps object.
|
boolean |
isPathStyleAccess()
Method isPathStyleAccess returns true if the underlying S3 client should use
path style access to the S3 host.
|
S3TapProps |
setEndpoint(java.lang.String endpoint)
Method setEndpoint sets the endpoint of this S3TapProps object.
|
S3TapProps |
setPathStyleAccess(boolean pathStyleAccess)
Method setPathStyleAccess should be called if the underlying S3 client should
use path style access to reach the target S3 host.
|
S3TapProps |
setProxyHost(java.lang.String proxyHost)
Method setProxyHost sets the optional proxy host this S3TapProps object will connect through.
|
S3TapProps |
setProxyPort(int proxyPort)
Method setProxyPort sets the optional proxy port this S3TapProps object will connect through.
|
S3TapProps |
setRegion(java.lang.String region)
Method setRegion sets the region of this S3TapProps object.
|
public static final java.lang.String S3_ENDPOINT
public static final java.lang.String S3_REGION
public static final java.lang.String S3_PATH_STYLE_ACCESS
public static final java.lang.String S3_PROXY_HOST
public static final java.lang.String S3_PROXY_PORT
public S3TapProps()
public java.lang.String getEndpoint()
public S3TapProps setEndpoint(java.lang.String endpoint)
endpoint - the endpoint of this S3TapProps object.public java.lang.String getRegion()
public S3TapProps setRegion(java.lang.String region)
region - the region of this S3TapProps object.public boolean isPathStyleAccess()
public S3TapProps setPathStyleAccess(boolean pathStyleAccess)
pathStyleAccess - true if path style access should be used.public java.lang.String getProxyHost()
public S3TapProps setProxyHost(java.lang.String proxyHost)
proxyHost - the proxy host this S3TapProps object will connect through .public int getProxyPort()
public S3TapProps setProxyPort(int proxyPort)
proxyPort - the proxy host this S3TapProps object will connect through .protected void addPropertiesTo(java.util.Properties properties)
addPropertiesTo in class cascading.property.PropsCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.