Class UploadPartResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.UploadPartResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<UploadPartResponse>
- Enclosing class:
- UploadPartResponse
public static class UploadPartResponse.Builder extends Object implements BmcResponse.Builder<UploadPartResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadPartResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
UploadPartResponse
build()
Build the response object.UploadPartResponse.Builder
copy(UploadPartResponse o)
Copy method to populate the builder with values from the given instance.UploadPartResponse.Builder
eTag(String eTag)
The entity tag (ETag) for the object.UploadPartResponse.Builder
headers(Map<String,List<String>> headers)
UploadPartResponse.Builder
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.UploadPartResponse.Builder
opcContentCrc32c(String opcContentCrc32c)
The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the request body as computed by the server.UploadPartResponse.Builder
opcContentMd5(String opcContentMd5)
The base64-encoded MD5 hash of the request body, as computed by the server.UploadPartResponse.Builder
opcContentSha256(String opcContentSha256)
The base64-encoded SHA256 hash of the request body as computed by the server.UploadPartResponse.Builder
opcContentSha384(String opcContentSha384)
The base64-encoded SHA384 hash of the request body as computed by the server.UploadPartResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public UploadPartResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<UploadPartResponse>
-
headers
public UploadPartResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<UploadPartResponse>
-
opcClientRequestId
public UploadPartResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId
- the value to set- Returns:
- this builder
-
opcRequestId
public UploadPartResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
opcContentMd5
public UploadPartResponse.Builder opcContentMd5(String opcContentMd5)
The base64-encoded MD5 hash of the request body, as computed by the server.- Parameters:
opcContentMd5
- the value to set- Returns:
- this builder
-
opcContentCrc32c
public UploadPartResponse.Builder opcContentCrc32c(String opcContentCrc32c)
The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the request body as computed by the server.Applicable only if CRC32C was specified in opc-checksum-algorithm request header during upload.
- Parameters:
opcContentCrc32c
- the value to set- Returns:
- this builder
-
opcContentSha256
public UploadPartResponse.Builder opcContentSha256(String opcContentSha256)
The base64-encoded SHA256 hash of the request body as computed by the server.Applicable only if SHA256 was specified in opc-checksum-algorithm request header during upload.
- Parameters:
opcContentSha256
- the value to set- Returns:
- this builder
-
opcContentSha384
public UploadPartResponse.Builder opcContentSha384(String opcContentSha384)
The base64-encoded SHA384 hash of the request body as computed by the server.Applicable only if SHA384 was specified in opc-checksum-algorithm request header during upload.
- Parameters:
opcContentSha384
- the value to set- Returns:
- this builder
-
eTag
public UploadPartResponse.Builder eTag(String eTag)
The entity tag (ETag) for the object.- Parameters:
eTag
- the value to set- Returns:
- this builder
-
copy
public UploadPartResponse.Builder copy(UploadPartResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<UploadPartResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UploadPartResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<UploadPartResponse>
- Returns:
- the response object
-
-