public static class GetModelArtifactContentResponse.Builder extends Object implements BmcResponse.Builder<GetModelArtifactContentResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetModelArtifactContentResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetModelArtifactContentResponse |
build()
Build the response object.
|
GetModelArtifactContentResponse.Builder |
contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC
2616, section 19.5.1.
|
GetModelArtifactContentResponse.Builder |
contentLength(Long contentLength)
The content size of the body in bytes.
|
GetModelArtifactContentResponse.Builder |
contentMd5(String contentMd5)
The base-64 encoded MD5 hash of the body, as described in RFC
2616, section 14.15.
|
GetModelArtifactContentResponse.Builder |
copy(GetModelArtifactContentResponse o)
Copy method to populate the builder with values from the given instance.
|
GetModelArtifactContentResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
GetModelArtifactContentResponse.Builder |
headers(Map<String,List<String>> headers) |
GetModelArtifactContentResponse.Builder |
inputStream(InputStream inputStream)
The returned
java.io.InputStream instance. |
GetModelArtifactContentResponse.Builder |
lastModified(Date lastModified)
The artifact modification time, as described in RFC
2616, section 14.29.
|
GetModelArtifactContentResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public GetModelArtifactContentResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetModelArtifactContentResponse>
public GetModelArtifactContentResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetModelArtifactContentResponse>
public GetModelArtifactContentResponse.Builder etag(String etag)
For optimistic concurrency control. See ETags for Optimistic Concurrency Control.
etag
- the value to setpublic GetModelArtifactContentResponse.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.
opcRequestId
- the value to setpublic GetModelArtifactContentResponse.Builder contentLength(Long contentLength)
The content size of the body in bytes.
contentLength
- the value to setpublic GetModelArtifactContentResponse.Builder contentDisposition(String contentDisposition)
The content disposition of the body, as described in RFC 2616, section 19.5.1.
contentDisposition
- the value to setpublic GetModelArtifactContentResponse.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)”
contentMd5
- the value to setpublic GetModelArtifactContentResponse.Builder lastModified(Date lastModified)
The artifact modification time, as described in RFC 2616, section 14.29.
lastModified
- the value to setpublic GetModelArtifactContentResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream
instance.
inputStream
- the value to setpublic GetModelArtifactContentResponse.Builder copy(GetModelArtifactContentResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetModelArtifactContentResponse>
o
- other request from which to copy valuespublic GetModelArtifactContentResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetModelArtifactContentResponse>
Copyright © 2016–2024. All rights reserved.