类的使用
com.baidubce.services.bos.model.GetObjectRequest
-
使用GetObjectRequest的程序包 程序包 说明 com.baidubce.services.bos com.baidubce.services.bos.model -
-
com.baidubce.services.bos中GetObjectRequest的使用
参数类型为GetObjectRequest的com.baidubce.services.bos中的方法 修饰符和类型 方法 说明 BosObjectBosClient. getObject(GetObjectRequest request)Gets the object stored in Bos under the specified bucket and key.ObjectMetadataBosClient. getObject(GetObjectRequest request, File destinationFile)Gets the object metadata for the object stored in Bos under the specified bucket and key, and saves the object contents to the specified file.byte[]BosClient. getObjectContent(GetObjectRequest request)Gets the object content stored in Bos under the specified bucket and key. -
com.baidubce.services.bos.model中GetObjectRequest的使用
com.baidubce.services.bos.model中GetObjectRequest的子类 修饰符和类型 类 说明 classSetObjectSymlinkRequestRequest object containing all the options for setting a object symlink.返回GetObjectRequest的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 GetObjectRequestGetObjectRequest. withBucketName(String bucketName)Sets the name of the bucket containing the object to be downloaded.GetObjectRequestGetObjectRequest. withKey(String key)Sets the key under which the object to be downloaded is stored.GetObjectRequestGetObjectRequest. withRange(long start, long end)Sets the optional inclusive byte range within the desired object that will be downloaded by this request.GetObjectRequestGetObjectRequest. withRequestCredentials(BceCredentials credentials)GetObjectRequestGetObjectRequest. withTrafficLimitBitPS(long trafficLimitBitPS)
-