类 ObsObject
java.lang.Object
com.obs.services.model.S3Object
com.obs.services.model.ObsObject
-
字段概要
从类继承的字段 com.obs.services.model.S3Object
bucketName, GLACIER, metadata, objectContent, objectContentWithCRC64, objectKey, objectType, owner, STANDARD, STANDARD_IA -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the name of the bucket to which the object belongs.Obtain the object properties, including "content-type", "content-length", and customized metadata.Obtain the data stream of the object.Obtain the object name.getOwner()Obtain the owner of the object.voidsetBucketName(String bucketName) Set the bucket to which the object belongs.voidsetMetadata(ObjectMetadata metadata) Set the object properties, including "content-type", "content-length", and customized metadata.voidsetObjectContent(InputStream objectContent) Set the data stream of the object.voidsetObjectKey(String objectKey) Set the object name.voidSet the owner of the object.toString()从类继承的方法 com.obs.services.model.S3Object
getObjectContentWithCRC64, getObjectType, setObjectType
-
构造器详细资料
-
ObsObject
public ObsObject()
-
-
方法详细资料
-
getBucketName
Obtain the name of the bucket to which the object belongs.- 覆盖:
getBucketName在类中S3Object- 返回:
- Name of the bucket to which the object belongs
-
setBucketName
Set the bucket to which the object belongs.- 覆盖:
setBucketName在类中S3Object- 参数:
bucketName- Name of the bucket to which the object belongs
-
getObjectKey
-
setObjectKey
Set the object name.- 覆盖:
setObjectKey在类中S3Object- 参数:
objectKey- Object name
-
getMetadata
Obtain the object properties, including "content-type", "content-length", and customized metadata.- 覆盖:
getMetadata在类中S3Object- 返回:
- Object properties
-
setMetadata
Set the object properties, including "content-type", "content-length", and customized metadata.- 覆盖:
setMetadata在类中S3Object- 参数:
metadata- Object properties
-
getObjectContent
Obtain the data stream of the object.- 覆盖:
getObjectContent在类中S3Object- 返回:
- Data stream of the object
-
setObjectContent
Set the data stream of the object.- 覆盖:
setObjectContent在类中S3Object- 参数:
objectContent- Object data stream
-
getOwner
-
setOwner
-
toString
-