public static class UploadManager.UploadResponse extends Object
The result referencing the uploaded object.
Modifier and Type | Class and Description |
---|---|
static class |
UploadManager.UploadResponse.Builder |
Constructor and 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) |
Modifier and Type | Method and 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() |
@ConstructorProperties(value={"eTag","contentMd5","multipartMd5","opcRequestId","opcClientRequestId"}) public UploadResponse(String eTag, String contentMd5, String multipartMd5, String opcRequestId, String opcClientRequestId)
@ConstructorProperties(value={"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)
public String getETag()
The etag of the object uploaded.
public String getContentMd5()
The MD5 of the object uploaded.
Will be null if the object was uploaded using multi-part. See getMultipartMd5()
instead.
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.
public String getOpcRequestId()
The opc-request-id associated with either the PutObject call or the final CommitMultipartUpload call (if multi-part upload was used).
public String getOpcClientRequestId()
The opc-client-request-id sent with every request, if provided.
public String getContentCrc32c()
The CRC32C of the single or multipart object uploaded.
public String getContentSha256()
The SHA256 of the object uploaded.
public String getContentSha384()
The SHA384 of the object uploaded.
public String getMultipartSha256()
The SHA256 of the multipart object uploaded.
public String getMultipartSha384()
The SHA384 of the multipart object uploaded.
Copyright © 2016–2024. All rights reserved.