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 TypeMethodDescriptioncom.google.common.net.HostAndPort@Min(1L) Integer@NotNull String@NotNull S3FileSystemConfig.S3SseType@NotNull @MinDataSize("5MB") @MaxDataSize("256MB") io.airlift.units.DataSizebooleanbooleanbooleansetAwsAccessKey(String awsAccessKey) setAwsSecretKey(String awsSecretKey) 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) setSseKmsKeyId(String sseKmsKeyId) setSseType(S3FileSystemConfig.S3SseType sseType) setStreamingPartSize(io.airlift.units.DataSize streamingPartSize) setStsEndpoint(String stsEndpoint) setStsRegion(String stsRegion)
-
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
-
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)
-