Class PutObjectResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.PutObjectResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<PutObjectResponse>
- Enclosing class:
- PutObjectResponse
public static class PutObjectResponse.Builder extends Object implements BmcResponse.Builder<PutObjectResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutObjectResponse.Builder__httpStatusCode__(int __httpStatusCode__)PutObjectResponsebuild()Build the response object.PutObjectResponse.Buildercopy(PutObjectResponse o)Copy method to populate the builder with values from the given instance.PutObjectResponse.BuildereTag(String eTag)The entity tag (ETag) for the object.PutObjectResponse.Builderheaders(Map<String,List<String>> headers)PutObjectResponse.BuilderlastModified(Date lastModified)The time the object was modified, as described in RFC 2616.PutObjectResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.PutObjectResponse.BuilderopcContentCrc32c(String opcContentCrc32c)The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the request body as computed by the server.PutObjectResponse.BuilderopcContentMd5(String opcContentMd5)The base64-encoded MD5 hash of the request body as computed by the server.PutObjectResponse.BuilderopcContentSha256(String opcContentSha256)The base64-encoded SHA256 hash of the request body as computed by the server.PutObjectResponse.BuilderopcContentSha384(String opcContentSha384)The base64-encoded SHA384 hash of the request body as computed by the server.PutObjectResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.PutObjectResponse.BuilderversionId(String versionId)VersionId of the newly created object-
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 PutObjectResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<PutObjectResponse>
-
headers
public PutObjectResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<PutObjectResponse>
-
opcClientRequestId
public PutObjectResponse.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 PutObjectResponse.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 PutObjectResponse.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 PutObjectResponse.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 PutObjectResponse.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 PutObjectResponse.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 PutObjectResponse.Builder eTag(String eTag)
The entity tag (ETag) for the object.- Parameters:
eTag- the value to set- Returns:
- this builder
-
lastModified
public PutObjectResponse.Builder lastModified(Date lastModified)
The time the object was modified, as described in RFC 2616.- Parameters:
lastModified- the value to set- Returns:
- this builder
-
versionId
public PutObjectResponse.Builder versionId(String versionId)
VersionId of the newly created object- Parameters:
versionId- the value to set- Returns:
- this builder
-
copy
public PutObjectResponse.Builder copy(PutObjectResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<PutObjectResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public PutObjectResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<PutObjectResponse>- Returns:
- the response object
-
-