Class S3FileSystemConfig

java.lang.Object
io.trino.filesystem.s3.S3FileSystemConfig

public class S3FileSystemConfig extends Object
  • Constructor Details

    • S3FileSystemConfig

      public S3FileSystemConfig()
  • Method Details

    • getAwsAccessKey

      public String getAwsAccessKey()
    • setAwsAccessKey

      @Config("s3.aws-access-key") public S3FileSystemConfig setAwsAccessKey(String awsAccessKey)
    • getAwsSecretKey

      public String getAwsSecretKey()
    • setAwsSecretKey

      @Config("s3.aws-secret-key") public S3FileSystemConfig setAwsSecretKey(String awsSecretKey)
    • getEndpoint

      public String getEndpoint()
    • setEndpoint

      @Config("s3.endpoint") public S3FileSystemConfig setEndpoint(String endpoint)
    • getRegion

      public String getRegion()
    • setRegion

      @Config("s3.region") public S3FileSystemConfig setRegion(String region)
    • isPathStyleAccess

      public boolean isPathStyleAccess()
    • setPathStyleAccess

      @Config("s3.path-style-access") public S3FileSystemConfig setPathStyleAccess(boolean pathStyleAccess)
    • getIamRole

      public String getIamRole()
    • setIamRole

      @Config("s3.iam-role") public S3FileSystemConfig setIamRole(String iamRole)
    • getRoleSessionName

      @NotNull public @NotNull String getRoleSessionName()
    • setRoleSessionName

      @Config("s3.role-session-name") public S3FileSystemConfig setRoleSessionName(String roleSessionName)
    • getExternalId

      public String getExternalId()
    • setExternalId

      @Config("s3.external-id") public S3FileSystemConfig setExternalId(String externalId)
    • getStsEndpoint

      public String getStsEndpoint()
    • setStsEndpoint

      @Config("s3.sts.endpoint") public S3FileSystemConfig setStsEndpoint(String stsEndpoint)
    • getStsRegion

      public String getStsRegion()
    • setStsRegion

      @Config("s3.sts.region") public S3FileSystemConfig setStsRegion(String stsRegion)
    • getCannedAcl

      @NotNull public @NotNull S3FileSystemConfig.ObjectCannedAcl getCannedAcl()
    • setCannedAcl

      @Config("s3.canned-acl") public S3FileSystemConfig setCannedAcl(S3FileSystemConfig.ObjectCannedAcl objectCannedAcl)
    • getRetryMode

      public S3FileSystemConfig.RetryMode getRetryMode()
    • setRetryMode

      @Config("s3.retry-mode") public S3FileSystemConfig setRetryMode(S3FileSystemConfig.RetryMode retryMode)
    • getMaxErrorRetries

      @Min(1L) public @Min(1L) int getMaxErrorRetries()
    • setMaxErrorRetries

      @Config("s3.max-error-retries") public S3FileSystemConfig setMaxErrorRetries(int maxErrorRetries)
    • getSseType

      @NotNull public @NotNull S3FileSystemConfig.S3SseType getSseType()
    • setSseType

      @Config("s3.sse.type") public S3FileSystemConfig setSseType(S3FileSystemConfig.S3SseType sseType)
    • getSseKmsKeyId

      public String getSseKmsKeyId()
    • setSseKmsKeyId

      @Config("s3.sse.kms-key-id") public S3FileSystemConfig setSseKmsKeyId(String sseKmsKeyId)
    • isUseWebIdentityTokenCredentialsProvider

      public boolean isUseWebIdentityTokenCredentialsProvider()
    • setUseWebIdentityTokenCredentialsProvider

      @Config("s3.use-web-identity-token-credentials-provider") public S3FileSystemConfig setUseWebIdentityTokenCredentialsProvider(boolean useWebIdentityTokenCredentialsProvider)
    • getSseCustomerKey

      public String getSseCustomerKey()
    • setSseCustomerKey

      @Config("s3.sse.customer-key") public S3FileSystemConfig setSseCustomerKey(String sseCustomerKey)
    • isSseWithCustomerKeyConfigValid

      @AssertTrue(message="s3.sse.customer-key has to be set for server-side encryption with customer-provided key") public @AssertTrue(message="s3.sse.customer-key has to be set for server-side encryption with customer-provided key") boolean isSseWithCustomerKeyConfigValid()
    • 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

      @Config("s3.requester-pays") public S3FileSystemConfig setRequesterPays(boolean requesterPays)
    • getMaxConnections

      @Min(1L) public @Min(1L) Integer getMaxConnections()
    • setMaxConnections

      @Config("s3.max-connections") public S3FileSystemConfig setMaxConnections(Integer maxConnections)
    • getConnectionTtl

      public Optional<io.airlift.units.Duration> getConnectionTtl()
    • setConnectionTtl

      @Config("s3.connection-ttl") public S3FileSystemConfig setConnectionTtl(io.airlift.units.Duration connectionTtl)
    • getConnectionMaxIdleTime

      public Optional<io.airlift.units.Duration> getConnectionMaxIdleTime()
    • setConnectionMaxIdleTime

      @Config("s3.connection-max-idle-time") public S3FileSystemConfig setConnectionMaxIdleTime(io.airlift.units.Duration connectionMaxIdleTime)
    • getSocketConnectTimeout

      public Optional<io.airlift.units.Duration> getSocketConnectTimeout()
    • setSocketConnectTimeout

      @Config("s3.socket-connect-timeout") public S3FileSystemConfig setSocketConnectTimeout(io.airlift.units.Duration socketConnectTimeout)
    • getSocketReadTimeout

      public Optional<io.airlift.units.Duration> getSocketReadTimeout()
    • setSocketReadTimeout

      @Config("s3.socket-read-timeout") public S3FileSystemConfig setSocketReadTimeout(io.airlift.units.Duration socketReadTimeout)
    • getTcpKeepAlive

      public boolean getTcpKeepAlive()
    • setTcpKeepAlive

      @Config("s3.tcp-keep-alive") public S3FileSystemConfig setTcpKeepAlive(boolean tcpKeepAlive)
    • 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)
    • getHttpProxyUsername

      public String getHttpProxyUsername()
    • setHttpProxyUsername

      @Config("s3.http-proxy.username") public S3FileSystemConfig setHttpProxyUsername(String httpProxyUsername)
    • getHttpProxyPassword

      public String getHttpProxyPassword()
    • setHttpProxyPassword

      @Config("s3.http-proxy.password") public S3FileSystemConfig setHttpProxyPassword(String httpProxyPassword)
    • getHttpProxyPreemptiveBasicProxyAuth

      public boolean getHttpProxyPreemptiveBasicProxyAuth()
    • setHttpProxyPreemptiveBasicProxyAuth

      @Config("s3.http-proxy.preemptive-basic-auth") public S3FileSystemConfig setHttpProxyPreemptiveBasicProxyAuth(boolean preemptiveBasicProxyAuth)
    • getNonProxyHosts

      public Set<String> getNonProxyHosts()
    • setNonProxyHosts

      @Config("s3.http-proxy.non-proxy-hosts") public S3FileSystemConfig setNonProxyHosts(String nonProxyHosts)
    • isSupportsExclusiveCreate

      public boolean isSupportsExclusiveCreate()
    • setSupportsExclusiveCreate

      @Config("s3.exclusive-create") public S3FileSystemConfig setSupportsExclusiveCreate(boolean supportsExclusiveCreate)