@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class UploadPartRequest extends BmcRequest
Modifier and Type | Class and Description |
---|---|
static class |
UploadPartRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UploadPartRequest.Builder |
builder() |
String |
getBucketName()
The name of the bucket.
|
Long |
getContentLength()
The content length of the body.
|
String |
getContentMD5()
The base-64 encoded MD5 hash of the body.
|
String |
getExpect()
100-continue
|
String |
getIfMatch()
The entity tag (ETag) to match.
|
String |
getIfNoneMatch()
The entity tag (ETag) to avoid matching.
|
String |
getNamespaceName()
The Object Storage namespace used for the request.
|
String |
getObjectName()
The name of the object.
|
String |
getOpcClientRequestId()
The client request ID for tracing.
|
String |
getUploadId()
The upload ID for a multipart upload.
|
InputStream |
getUploadPartBody()
The part being uploaded to the Object Storage service.
|
Integer |
getUploadPartNum()
The part number that identifies the object part currently being uploaded.
|
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
public static UploadPartRequest.Builder builder()
public String getNamespaceName()
The Object Storage namespace used for the request.
public String getBucketName()
The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
public String getObjectName()
The name of the object. Avoid entering confidential information. Example: test/object1.log
public String getUploadId()
The upload ID for a multipart upload.
public Integer getUploadPartNum()
The part number that identifies the object part currently being uploaded.
public Long getContentLength()
The content length of the body.
public InputStream getUploadPartBody()
The part being uploaded to the Object Storage service.
public String getOpcClientRequestId()
The client request ID for tracing.
public String getIfMatch()
The entity tag (ETag) to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object. For uploading a part, this is the entity tag of the target part.
public String getIfNoneMatch()
The entity tag (ETag) to avoid matching. The only valid value is ’*’, which indicates that the request should fail if the object already exists. For creating and committing a multipart upload, this is the entity tag of the target object. For uploading a part, this is the entity tag of the target part.
public String getExpect()
100-continue
public String getContentMD5()
The base-64 encoded MD5 hash of the body. If the Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:
"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
Copyright © 2016–2019. All rights reserved.