类 GetObjectSymlinkRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.bos.model.GenericBucketRequest
-
- com.baidubce.services.bos.model.GenericObjectRequest
-
- com.baidubce.services.bos.model.GetObjectSymlinkRequest
-
public class GetObjectSymlinkRequest extends GenericObjectRequest
Provides options for get an Baidu Bos object symlink.All
GetObjectSymlinkRequestmust specify a bucket name and key. Beyond that, requests can also specify:- The range of bytes within the object to download,
-
-
字段概要
-
从类继承的字段 com.baidubce.services.bos.model.GenericObjectRequest
trafficLimitBitPS
-
-
构造器概要
构造器 构造器 说明 GetObjectSymlinkRequest()GetObjectSymlinkRequest(String bucketName, String key)Constructs a new GetObjectSymlinkRequest with all the required parameters.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 GetObjectSymlinkRequestwithBucketName(String bucketName)Sets the name of the bucket containing the symlink object.GetObjectSymlinkRequestwithKey(String key)Sets the symlink key.GetObjectSymlinkRequestwithRequestCredentials(BceCredentials credentials)-
从类继承的方法 com.baidubce.services.bos.model.GenericObjectRequest
getKey, setKey
-
从类继承的方法 com.baidubce.services.bos.model.GenericBucketRequest
getBucketName, setBucketName
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
构造器详细资料
-
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.
-
withRequestCredentials
public GetObjectSymlinkRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-