Class AliyunProperties

java.lang.Object
org.apache.iceberg.aliyun.AliyunProperties
All Implemented Interfaces:
Serializable

public class AliyunProperties extends Object implements Serializable
See Also:
  • Field Details

    • OSS_ENDPOINT

      public static final String OSS_ENDPOINT
      The domain name used to access OSS. OSS uses HTTP Restful APIs to provide services. Different regions are accessed by using different endpoints. For the same region, access over the internal network or over the Internet also uses different endpoints. For more information, see: https://www.alibabacloud.com/help/doc-detail/31837.htm
      See Also:
    • CLIENT_ACCESS_KEY_ID

      public static final String CLIENT_ACCESS_KEY_ID
      Aliyun uses an AccessKey pair, which includes an AccessKey ID and an AccessKey secret to implement symmetric encryption and verify the identity of a requester. The AccessKey ID is used to identify a user.

      For more information about how to obtain an AccessKey pair, see: https://www.alibabacloud.com/help/doc-detail/53045.htm

      See Also:
    • CLIENT_ACCESS_KEY_SECRET

      public static final String CLIENT_ACCESS_KEY_SECRET
      Aliyun uses an AccessKey pair, which includes an AccessKey ID and an AccessKey secret to implement symmetric encryption and verify the identity of a requester. The AccessKey secret is used to encrypt and verify the signature string.

      For more information about how to obtain an AccessKey pair, see: https://www.alibabacloud.com/help/doc-detail/53045.htm

      See Also:
    • CLIENT_SECURITY_TOKEN

      public static final String CLIENT_SECURITY_TOKEN
      Aliyun supports Security Token Service (STS) to generate temporary access credentials to authorize a user to access the Object Storage Service (OSS) resources within a specific period of time. In this way, user does not have to share the AccessKey pair and ensures higher level of data security.

      For more information about how to obtain a security token, see: https://www.alibabacloud.com/help/en/vod/user-guide/sts-tokens

      See Also:
    • CLIENT_FACTORY

      public static final String CLIENT_FACTORY
      The implementation class of AliyunClientFactory to customize Aliyun client configurations. If set, all Aliyun clients will be initialized by the specified factory. If not set, AliyunClientFactories.defaultFactory() is used as default factory.
      See Also:
    • OSS_STAGING_DIRECTORY

      public static final String OSS_STAGING_DIRECTORY
      Location to put staging files for uploading to OSS, defaults to the directory value of java.io.tmpdir.
      See Also:
  • Constructor Details

    • AliyunProperties

      public AliyunProperties()
    • AliyunProperties

      public AliyunProperties(Map<String,String> properties)
  • Method Details

    • ossEndpoint

      public String ossEndpoint()
    • accessKeyId

      public String accessKeyId()
    • accessKeySecret

      public String accessKeySecret()
    • securityToken

      public String securityToken()
    • ossStagingDirectory

      public String ossStagingDirectory()