public static class GetJobArtifactContentResponse.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GetJobArtifactContentResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetJobArtifactContentResponse |
build() |
GetJobArtifactContentResponse.Builder |
contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC 2616, section 19.5.1.
|
GetJobArtifactContentResponse.Builder |
contentLength(Long contentLength)
The content size of the body in bytes.
|
GetJobArtifactContentResponse.Builder |
contentMd5(String contentMd5)
The base-64 encoded MD5 hash of the body, as described in RFC 2616, section 14.15.
|
GetJobArtifactContentResponse.Builder |
copy(GetJobArtifactContentResponse o)
Copy method to populate the builder with values from the given instance.
|
GetJobArtifactContentResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
GetJobArtifactContentResponse.Builder |
inputStream(InputStream inputStream)
The returned java.io.InputStream instance.
|
GetJobArtifactContentResponse.Builder |
lastModified(Date lastModified)
The artifact modification time, as described in RFC 2616, section 14.29.
|
GetJobArtifactContentResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.
|
String |
toString() |
public GetJobArtifactContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
public GetJobArtifactContentResponse.Builder copy(GetJobArtifactContentResponse o)
Copy method to populate the builder with values from the given instance.
public GetJobArtifactContentResponse build()
public GetJobArtifactContentResponse.Builder etag(String etag)
For optimistic concurrency control. See ETags for Optimistic Concurrency Control.
this
.public GetJobArtifactContentResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID.
this
.public GetJobArtifactContentResponse.Builder contentLength(Long contentLength)
The content size of the body in bytes.
this
.public GetJobArtifactContentResponse.Builder contentMd5(String contentMd5)
The base-64 encoded MD5 hash of the body, as described in RFC 2616, section 14.15.
Unavailable for objects uploaded using multipart upload.
If the 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)”
this
.public GetJobArtifactContentResponse.Builder lastModified(Date lastModified)
The artifact modification time, as described in RFC 2616, section 14.29.
this
.public GetJobArtifactContentResponse.Builder contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC 2616, section 19.5.1.
this
.public GetJobArtifactContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance.
this
.Copyright © 2016–2022. All rights reserved.