public class InitiateMultipartUploadRequest extends OSSRequest
OSSRequest.CRC64Config
限定符和类型 | 字段和说明 |
---|---|
boolean |
isSequential |
构造器和说明 |
---|
InitiateMultipartUploadRequest(java.lang.String bucketName,
java.lang.String objectKey)
Constructor
|
InitiateMultipartUploadRequest(java.lang.String bucketName,
java.lang.String objectKey,
ObjectMetadata metadata)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBucketName()
Gets the bucket name
|
ObjectMetadata |
getMetadata()
Gets the object's metadata.
|
java.lang.String |
getObjectKey()
Gets the target object key
|
void |
setBucketName(java.lang.String bucketName)
Sets the bucket name
|
void |
setMetadata(ObjectMetadata metadata)
Sets the metadata
|
void |
setObjectKey(java.lang.String objectKey)
Sets the target object key
|
getCRC64, isAuthorizationRequired, setCRC64, setIsAuthorizationRequired
public InitiateMultipartUploadRequest(java.lang.String bucketName, java.lang.String objectKey)
bucketName
- Bucket nameobjectKey
- Object keypublic InitiateMultipartUploadRequest(java.lang.String bucketName, java.lang.String objectKey, ObjectMetadata metadata)
bucketName
- Bucket nameobjectKey
- Object keymetadata
- Object metadatapublic java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- Bucket namepublic java.lang.String getObjectKey()
public void setObjectKey(java.lang.String objectKey)
objectKey
- The target object keypublic ObjectMetadata getMetadata()
public void setMetadata(ObjectMetadata metadata)
metadata
- The object's metadata