Package io.trino.filesystem.s3
Class S3FileSystemConfig
java.lang.Object
io.trino.filesystem.s3.S3FileSystemConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<io.airlift.units.Duration> Optional<io.airlift.units.Duration> com.google.common.net.HostAndPort@Min(1L) Integer@NotNull StringOptional<io.airlift.units.Duration> Optional<io.airlift.units.Duration> @NotNull S3FileSystemConfig.S3SseType@NotNull @MinDataSize("5MB") @MaxDataSize("256MB") io.airlift.units.DataSizebooleanbooleanbooleanbooleansetAwsAccessKey(String awsAccessKey) setAwsSecretKey(String awsSecretKey) setConnectionMaxIdleTime(io.airlift.units.Duration connectionMaxIdleTime) setConnectionTtl(io.airlift.units.Duration connectionTtl) setEndpoint(String endpoint) setExternalId(String externalId) setHttpProxy(com.google.common.net.HostAndPort httpProxy) setHttpProxySecure(boolean httpProxySecure) setIamRole(String iamRole) setMaxConnections(Integer maxConnections) setPathStyleAccess(boolean pathStyleAccess) setRequesterPays(boolean requesterPays) setRoleSessionName(String roleSessionName) setSocketConnectTimeout(io.airlift.units.Duration socketConnectTimeout) setSocketReadTimeout(io.airlift.units.Duration socketReadTimeout) setSseKmsKeyId(String sseKmsKeyId) setSseType(S3FileSystemConfig.S3SseType sseType) setStreamingPartSize(io.airlift.units.DataSize streamingPartSize) setStsEndpoint(String stsEndpoint) setStsRegion(String stsRegion) setTcpKeepAlive(boolean tcpKeepAlive)
-
Constructor Details
-
S3FileSystemConfig
public S3FileSystemConfig()
-
-
Method Details
-
getAwsAccessKey
-
setAwsAccessKey
-
getAwsSecretKey
-
setAwsSecretKey
-
getEndpoint
-
setEndpoint
-
getRegion
-
setRegion
-
isPathStyleAccess
public boolean isPathStyleAccess() -
setPathStyleAccess
@Config("s3.path-style-access") public S3FileSystemConfig setPathStyleAccess(boolean pathStyleAccess) -
getIamRole
-
setIamRole
-
getRoleSessionName
-
setRoleSessionName
@Config("s3.role-session-name") public S3FileSystemConfig setRoleSessionName(String roleSessionName) -
getExternalId
-
setExternalId
-
getStsEndpoint
-
setStsEndpoint
-
getStsRegion
-
setStsRegion
-
getSseType
-
setSseType
-
getSseKmsKeyId
-
setSseKmsKeyId
-
getStreamingPartSize
@NotNull @MinDataSize("5MB") @MaxDataSize("256MB") public @NotNull @MinDataSize("5MB") @MaxDataSize("256MB") io.airlift.units.DataSize getStreamingPartSize() -
setStreamingPartSize
@Config("s3.streaming.part-size") public S3FileSystemConfig setStreamingPartSize(io.airlift.units.DataSize streamingPartSize) -
isRequesterPays
public boolean isRequesterPays() -
setRequesterPays
-
getMaxConnections
-
setMaxConnections
-
getConnectionTtl
-
setConnectionTtl
@Config("s3.connection-ttl") public S3FileSystemConfig setConnectionTtl(io.airlift.units.Duration connectionTtl) -
getConnectionMaxIdleTime
-
setConnectionMaxIdleTime
@Config("s3.connection-max-idle-time") public S3FileSystemConfig setConnectionMaxIdleTime(io.airlift.units.Duration connectionMaxIdleTime) -
getSocketConnectTimeout
-
setSocketConnectTimeout
@Config("s3.socket-connect-timeout") public S3FileSystemConfig setSocketConnectTimeout(io.airlift.units.Duration socketConnectTimeout) -
getSocketReadTimeout
-
setSocketReadTimeout
@Config("s3.socket-read-timeout") public S3FileSystemConfig setSocketReadTimeout(io.airlift.units.Duration socketReadTimeout) -
getTcpKeepAlive
public boolean getTcpKeepAlive() -
setTcpKeepAlive
-
getHttpProxy
public com.google.common.net.HostAndPort getHttpProxy() -
setHttpProxy
@Config("s3.http-proxy") public S3FileSystemConfig setHttpProxy(com.google.common.net.HostAndPort httpProxy) -
isHttpProxySecure
public boolean isHttpProxySecure() -
setHttpProxySecure
@Config("s3.http-proxy.secure") public S3FileSystemConfig setHttpProxySecure(boolean httpProxySecure)
-