@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class UploadPartRequest extends BmcRequest<InputStream> implements HasContentLength
Example: Click here to see how to use UploadPartRequest.
Modifier and Type | Class and Description |
---|---|
static class |
UploadPartRequest.Builder |
Constructor and Description |
---|
UploadPartRequest() |
Modifier and Type | Method and Description |
---|---|
static UploadPartRequest.Builder |
builder()
Return a new builder for this request object.
|
boolean |
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal
to ‘this’.
|
InputStream |
getBody$()
Alternative accessor for the body parameter.
|
String |
getBucketName()
The name of the bucket.
|
Long |
getContentLength()
The content length of the body.
|
String |
getContentMD5()
The optional header that defines the base64-encoded MD5 hash of the body.
|
String |
getExpect()
A value of
100-continue requests preliminary verification of the request method,
path, and headers before the request body is sent. |
String |
getIfMatch()
The entity tag (ETag) to match with the ETag of an existing resource.
|
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 |
getOpcSseCustomerAlgorithm()
The optional header that specifies “AES256” as the encryption algorithm.
|
String |
getOpcSseCustomerKey()
The optional header that specifies the base64-encoded 256-bit encryption key to use to
encrypt or decrypt the data.
|
String |
getOpcSseCustomerKeySha256()
The optional header that specifies the base64-encoded SHA256 hash of the encryption key.
|
String |
getOpcSseKmsKeyId()
The OCID of a
master encryption key used to call the Key Management service to generate a data encryption
key or to encrypt or decrypt a data encryption key.
|
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.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
boolean |
supportsExpect100Continue()
Returns true if this operation supports Expect: 100-Continue.
|
UploadPartRequest.Builder |
toBuilder()
Return an instance of
UploadPartRequest.Builder that allows you to modify request properties. |
String |
toString() |
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
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.
getContentLength
in interface HasContentLength
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 with the ETag of an existing resource. If the specified ETag matches the ETag of the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload the resource.
public String getIfNoneMatch()
The entity tag (ETag) to avoid matching. The only valid value is ‘*’, which indicates that the request should fail if the resource already exists.
public String getExpect()
A value of 100-continue
requests preliminary verification of the request method,
path, and headers before the request body is sent. If no error results from such
verification, the server will send a 100 (Continue) interim response to indicate readiness
for the request body. The only allowed value for this parameter is “100-Continue”
(case-insensitive).
public String getContentMD5()
The optional header that defines the base64-encoded MD5 hash of the body. If the optional 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)"
public String getOpcSseCustomerAlgorithm()
The optional header that specifies “AES256” as the encryption algorithm. For more information, see Using Your Own Keys for Server-Side Encryption.
public String getOpcSseCustomerKey()
The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the data. For more information, see Using Your Own Keys for Server-Side Encryption.
public String getOpcSseCustomerKeySha256()
The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key. For more information, see Using Your Own Keys for Server-Side Encryption.
public String getOpcSseKmsKeyId()
The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
public InputStream getBody$()
Alternative accessor for the body parameter.
getBody$
in class BmcRequest<InputStream>
public boolean supportsExpect100Continue()
BmcRequest
Returns true if this operation supports Expect: 100-Continue.
supportsExpect100Continue
in class BmcRequest<InputStream>
public UploadPartRequest.Builder toBuilder()
Return an instance of UploadPartRequest.Builder
that allows you to modify request properties.
UploadPartRequest.Builder
that allows you to modify request properties.public static UploadPartRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<InputStream>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<InputStream>
Copyright © 2016–2024. All rights reserved.