Class HeadDataFileResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.responses.HeadDataFileResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<HeadDataFileResponse>
- Enclosing class:
- HeadDataFileResponse
public static class HeadDataFileResponse.Builder extends Object implements BmcResponse.Builder<HeadDataFileResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadDataFileResponse.Builder__httpStatusCode__(int __httpStatusCode__)HeadDataFileResponsebuild()Build the response object.HeadDataFileResponse.BuildercontentDisposition(String contentDisposition)Content-Disposition header, as described in RFC 2616.HeadDataFileResponse.BuildercontentEncoding(String contentEncoding)Content-Encoding header, as described in RFC 2616.HeadDataFileResponse.BuildercontentLanguage(String contentLanguage)Content-Language header, as described in RFC 2616.HeadDataFileResponse.BuildercontentLength(Long contentLength)The object size in bytes.HeadDataFileResponse.BuildercontentMd5(String contentMd5)The base-64 encoded MD5 hash of the request body as computed by the server.HeadDataFileResponse.BuildercontentType(String contentType)Content-Type header, as described in RFC 2616.HeadDataFileResponse.Buildercopy(HeadDataFileResponse o)Copy method to populate the builder with values from the given instance.HeadDataFileResponse.Builderetag(String etag)For optimistic concurrency control.HeadDataFileResponse.Builderheaders(Map<String,List<String>> headers)HeadDataFileResponse.BuilderlastModified(Date lastModified)The last time the object was modified, as described in RFC 2616.HeadDataFileResponse.Buildermetadata(String metadata)A string containing a JSON-encoded object with metadata related to the uploaded file or resource.HeadDataFileResponse.BuilderopcClientRequestId(String opcClientRequestId)The client request ID.HeadDataFileResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.-
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 HeadDataFileResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<HeadDataFileResponse>
-
headers
public HeadDataFileResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<HeadDataFileResponse>
-
etag
public HeadDataFileResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcRequestId
public HeadDataFileResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcClientRequestId
public HeadDataFileResponse.Builder opcClientRequestId(String opcClientRequestId)
The client request ID.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder
-
contentType
public HeadDataFileResponse.Builder contentType(String contentType)
Content-Type header, as described in RFC 2616.- Parameters:
contentType- the value to set- Returns:
- this builder
-
contentLength
public HeadDataFileResponse.Builder contentLength(Long contentLength)
The object size in bytes.- Parameters:
contentLength- the value to set- Returns:
- this builder
-
contentMd5
public HeadDataFileResponse.Builder contentMd5(String contentMd5)
The base-64 encoded MD5 hash of the request body as computed by the server.- Parameters:
contentMd5- the value to set- Returns:
- this builder
-
contentEncoding
public HeadDataFileResponse.Builder contentEncoding(String contentEncoding)
Content-Encoding header, as described in RFC 2616.- Parameters:
contentEncoding- the value to set- Returns:
- this builder
-
contentLanguage
public HeadDataFileResponse.Builder contentLanguage(String contentLanguage)
Content-Language header, as described in RFC 2616.- Parameters:
contentLanguage- the value to set- Returns:
- this builder
-
contentDisposition
public HeadDataFileResponse.Builder contentDisposition(String contentDisposition)
Content-Disposition header, as described in RFC 2616.- Parameters:
contentDisposition- the value to set- Returns:
- this builder
-
lastModified
public HeadDataFileResponse.Builder lastModified(Date lastModified)
The last time the object was modified, as described in RFC 2616.Expressed in RFC 3339 timestamp format. Example: 2020-02-19T22:47:12.613Z
- Parameters:
lastModified- the value to set- Returns:
- this builder
-
metadata
public HeadDataFileResponse.Builder metadata(String metadata)
A string containing a JSON-encoded object with metadata related to the uploaded file or resource.Example: {“fileName”:“report.pdf”,“uploader”:“jane.doe”,“category”:“financial”}
- Parameters:
metadata- the value to set- Returns:
- this builder
-
copy
public HeadDataFileResponse.Builder copy(HeadDataFileResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<HeadDataFileResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public HeadDataFileResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<HeadDataFileResponse>- Returns:
- the response object
-
-