类 GetObjectSymlinkRequest


  • public class GetObjectSymlinkRequest
    extends GenericObjectRequest
    Provides options for get an Baidu Bos object symlink.

    All GetObjectSymlinkRequest must specify a bucket name and key. Beyond that, requests can also specify:

    • The range of bytes within the object to download,
    • 构造器详细资料

      • GetObjectSymlinkRequest

        public GetObjectSymlinkRequest()
      • GetObjectSymlinkRequest

        public GetObjectSymlinkRequest​(String bucketName,
                                       String key)
        Constructs a new GetObjectSymlinkRequest with all the required parameters.
        参数:
        bucketName - The name of the bucket containing the desired object.
        key - The symlink key in the specified bucket under which the object is stored.
    • 方法详细资料

      • withKey

        public GetObjectSymlinkRequest withKey​(String key)
        Sets the symlink key. Returns this GetObjectSymlinkRequest, enabling additional method calls to be chained together.
        指定者:
        withKey 在类中 GenericObjectRequest
        参数:
        key - The symlink key
        返回:
        This GetObjectSymlinkRequest, enabling additional method calls to be chained together.
      • withBucketName

        public GetObjectSymlinkRequest withBucketName​(String bucketName)
        Sets the name of the bucket containing the symlink object. Returns this GetObjectSymlinkRequest, enabling additional method calls to be chained together.
        指定者:
        withBucketName 在类中 GenericBucketRequest
        参数:
        bucketName - The name of the bucket containing the object to be downloaded.
        返回:
        This GetObjectSymlinkRequest, enabling additional method calls to be chained together.