Class AliyunProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class AliyunProperties
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.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.
      static java.lang.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.
      static java.lang.String CLIENT_FACTORY
      The implementation class of AliyunClientFactory to customize Aliyun client configurations.
      static java.lang.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.
      static java.lang.String OSS_ENDPOINT
      The domain name used to access OSS.
      static java.lang.String OSS_STAGING_DIRECTORY
      Location to put staging files for uploading to OSS, defaults to the directory value of java.io.tmpdir.
    • Constructor Summary

      Constructors 
      Constructor Description
      AliyunProperties()  
      AliyunProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)  
    • Field Detail

      • OSS_ENDPOINT

        public static final java.lang.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:
        Constant Field Values
      • CLIENT_ACCESS_KEY_ID

        public static final java.lang.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:
        Constant Field Values
      • CLIENT_ACCESS_KEY_SECRET

        public static final java.lang.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:
        Constant Field Values
      • CLIENT_SECURITY_TOKEN

        public static final java.lang.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:
        Constant Field Values
      • OSS_STAGING_DIRECTORY

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

      • AliyunProperties

        public AliyunProperties()
      • AliyunProperties

        public AliyunProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
    • Method Detail

      • ossEndpoint

        public java.lang.String ossEndpoint()
      • accessKeyId

        public java.lang.String accessKeyId()
      • accessKeySecret

        public java.lang.String accessKeySecret()
      • securityToken

        public java.lang.String securityToken()
      • ossStagingDirectory

        public java.lang.String ossStagingDirectory()