阿里云oss——OSSObject

阿里云OSSObject是存储数据的基本单元,包括元信息、用户数据和文件名。OSSObject继承GenericResult并实现Closeable接口,包含key、bucketName、InputStream和ObjectMetadata等属性,提供对OSS对象的全面管理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、OSSObject是阿里云oss的基础对象

对象是OSS存储数据的基本单元,也被称为OSS的文件。对象由元信息(Object Meta)、用户数据(Data)和文件名(Key)组成。对象由存储空间内部唯一的Key来标识。对象元信息是一组键值对,表示了对象的一些属性,例如最后修改时间、大小等信息,同时您也可以在元信息中存储一些自定义的信息。

The entity class for representing an object in OSS.
In OSS, every file is an OSSObject and every single file should be less than 5G for using Simple upload, Form upload and Append Upload. Only multipart upload could upload a single file more than 5G. Any object has key, data and user metadata. The key is the object's name and the data is object's file content. The user metadata is a dictionary of key-value entries to store some custom data about the object.
Object naming rules
use UTF-8 encoding
Length is between 1 to 1023
Could not have slash or backslash
在OSS中表示一个对象的实体类。
在OSS中,每一个文件都是一个OSSObject,使用Simple upload、Form upload和Append upload每一个文件都要小于5G。只有多段上传才能上传单个文件超过5G。任何
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

大鹏小站

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值