Class UploadManager.UploadResponse
- java.lang.Object
-
- com.oracle.bmc.objectstorage.transfer.UploadManager.UploadResponse
-
- Enclosing class:
- UploadManager
public static class UploadManager.UploadResponse extends Object
The result referencing the uploaded object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UploadManager.UploadResponse.Builder
-
Constructor Summary
Constructors Constructor Description UploadResponse(String eTag, String contentMd5, String multipartMd5, String opcRequestId, String opcClientRequestId)
UploadResponse(String eTag, String contentMd5, String multipartMd5, String opcRequestId, String opcClientRequestId, String contentCrc32c, String contentSha256, String contentSha384, String multipartSha256, String multipartSha384)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentCrc32c()
The CRC32C of the single or multipart object uploaded.String
getContentMd5()
The MD5 of the object uploaded.String
getContentSha256()
The SHA256 of the object uploaded.String
getContentSha384()
The SHA384 of the object uploaded.String
getETag()
The etag of the object uploaded.String
getMultipartMd5()
The multipart MD5 of the object uploaded.String
getMultipartSha256()
The SHA256 of the multipart object uploaded.String
getMultipartSha384()
The SHA384 of the multipart object uploaded.String
getOpcClientRequestId()
The opc-client-request-id sent with every request, if provided.String
getOpcRequestId()
The opc-request-id associated with either the PutObject call or the final CommitMultipartUpload call (if multi-part upload was used).String
toString()
-
-
-
Constructor Detail
-
UploadResponse
@ConstructorProperties({"eTag","contentMd5","multipartMd5","opcRequestId","opcClientRequestId"}) public UploadResponse(String eTag, String contentMd5, String multipartMd5, String opcRequestId, String opcClientRequestId)
-
UploadResponse
@ConstructorProperties({"eTag","contentMd5","multipartMd5","opcRequestId","opcClientRequestId","contentCrc32c","contentSha256","contentSha384","multipartSha256","multipartSha384"}) public UploadResponse(String eTag, String contentMd5, String multipartMd5, String opcRequestId, String opcClientRequestId, String contentCrc32c, String contentSha256, String contentSha384, String multipartSha256, String multipartSha384)
-
-
Method Detail
-
getETag
public String getETag()
The etag of the object uploaded.
-
getContentMd5
public String getContentMd5()
The MD5 of the object uploaded.Will be null if the object was uploaded using multi-part. See
getMultipartMd5()
instead.
-
getMultipartMd5
public String getMultipartMd5()
The multipart MD5 of the object uploaded.Will be null if the object was uploaded using standard put-object. See
getContentMd5()
instead.
-
getOpcRequestId
public String getOpcRequestId()
The opc-request-id associated with either the PutObject call or the final CommitMultipartUpload call (if multi-part upload was used).
-
getOpcClientRequestId
public String getOpcClientRequestId()
The opc-client-request-id sent with every request, if provided.
-
getContentCrc32c
public String getContentCrc32c()
The CRC32C of the single or multipart object uploaded.
-
getContentSha256
public String getContentSha256()
The SHA256 of the object uploaded.
-
getContentSha384
public String getContentSha384()
The SHA384 of the object uploaded.
-
getMultipartSha256
public String getMultipartSha256()
The SHA256 of the multipart object uploaded.
-
getMultipartSha384
public String getMultipartSha384()
The SHA384 of the multipart object uploaded.
-
-