Class HeadStepArtifactResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.datascience.responses.HeadStepArtifactResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<HeadStepArtifactResponse>
 - Enclosing class:
- HeadStepArtifactResponse
 
 public static class HeadStepArtifactResponse.Builder extends Object implements BmcResponse.Builder<HeadStepArtifactResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadStepArtifactResponse.Builder__httpStatusCode__(int __httpStatusCode__)HeadStepArtifactResponsebuild()Build the response object.HeadStepArtifactResponse.BuildercontentDisposition(String contentDisposition)The content disposition of the body, as described in RFC 2616, section 19.5.1.HeadStepArtifactResponse.BuildercontentLength(Long contentLength)The content size of the body in bytes.HeadStepArtifactResponse.BuildercontentMd5(String contentMd5)The base-64 encoded MD5 hash of the body, as described in RFC 2616, section 14.15.HeadStepArtifactResponse.Buildercopy(HeadStepArtifactResponse o)Copy method to populate the builder with values from the given instance.HeadStepArtifactResponse.Builderetag(String etag)For optimistic concurrency control.HeadStepArtifactResponse.Builderheaders(Map<String,List<String>> headers)HeadStepArtifactResponse.BuilderlastModified(Date lastModified)The artifact modification time, as described in RFC 2616, section 14.29.HeadStepArtifactResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle assigned identifier for the request.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public HeadStepArtifactResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<HeadStepArtifactResponse>
 
 - 
headerspublic HeadStepArtifactResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<HeadStepArtifactResponse>
 
 - 
etagpublic HeadStepArtifactResponse.Builder etag(String etag) For optimistic concurrency control.- Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic HeadStepArtifactResponse.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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
contentLengthpublic HeadStepArtifactResponse.Builder contentLength(Long contentLength) The content size of the body in bytes.- Parameters:
- contentLength- the value to set
- Returns:
- this builder
 
 - 
contentMd5public HeadStepArtifactResponse.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)” - Parameters:
- contentMd5- the value to set
- Returns:
- this builder
 
 - 
contentDispositionpublic HeadStepArtifactResponse.Builder contentDisposition(String contentDisposition) The content disposition of the body, as described in RFC 2616, section 19.5.1.- Parameters:
- contentDisposition- the value to set
- Returns:
- this builder
 
 - 
lastModifiedpublic HeadStepArtifactResponse.Builder lastModified(Date lastModified) The artifact modification time, as described in RFC 2616, section 14.29.- Parameters:
- lastModified- the value to set
- Returns:
- this builder
 
 - 
copypublic HeadStepArtifactResponse.Builder copy(HeadStepArtifactResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<HeadStepArtifactResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic HeadStepArtifactResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<HeadStepArtifactResponse>
- Returns:
- the response object
 
 
- 
 
-