Class GetDataFileResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.responses.GetDataFileResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetDataFileResponse>
- Enclosing class:
- GetDataFileResponse
public static class GetDataFileResponse.Builder extends Object implements BmcResponse.Builder<GetDataFileResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDataFileResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetDataFileResponsebuild()Build the response object.GetDataFileResponse.BuildercontentDisposition(String contentDisposition)Content-Disposition header, as described in RFC 2616.GetDataFileResponse.BuildercontentEncoding(String contentEncoding)Content-Encoding header, as described in RFC 2616.GetDataFileResponse.BuildercontentLanguage(String contentLanguage)Content-Language header, as described in RFC 2616.GetDataFileResponse.BuildercontentLength(Long contentLength)The object size in bytes.GetDataFileResponse.BuildercontentMd5(String contentMd5)The base-64 encoded MD5 hash of the request body as computed by the server.GetDataFileResponse.BuildercontentType(String contentType)Content-Type header, as described in RFC 2616.GetDataFileResponse.Buildercopy(GetDataFileResponse o)Copy method to populate the builder with values from the given instance.GetDataFileResponse.Builderetag(String etag)For optimistic concurrency control.GetDataFileResponse.Builderheaders(Map<String,List<String>> headers)GetDataFileResponse.BuilderinputStream(InputStream inputStream)The returned java.io.InputStream instance.GetDataFileResponse.BuilderlastModified(Date lastModified)The last time the object was modified, as described in RFC 2616.GetDataFileResponse.Buildermetadata(String metadata)A string containing a JSON-encoded object with metadata related to the uploaded file or resource.GetDataFileResponse.BuilderopcClientRequestId(String opcClientRequestId)The client request ID.GetDataFileResponse.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 GetDataFileResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetDataFileResponse>
-
headers
public GetDataFileResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetDataFileResponse>
-
etag
public GetDataFileResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcRequestId
public GetDataFileResponse.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 GetDataFileResponse.Builder opcClientRequestId(String opcClientRequestId)
The client request ID.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder
-
contentType
public GetDataFileResponse.Builder contentType(String contentType)
Content-Type header, as described in RFC 2616.- Parameters:
contentType- the value to set- Returns:
- this builder
-
contentLength
public GetDataFileResponse.Builder contentLength(Long contentLength)
The object size in bytes.- Parameters:
contentLength- the value to set- Returns:
- this builder
-
contentMd5
public GetDataFileResponse.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 GetDataFileResponse.Builder contentEncoding(String contentEncoding)
Content-Encoding header, as described in RFC 2616.- Parameters:
contentEncoding- the value to set- Returns:
- this builder
-
contentLanguage
public GetDataFileResponse.Builder contentLanguage(String contentLanguage)
Content-Language header, as described in RFC 2616.- Parameters:
contentLanguage- the value to set- Returns:
- this builder
-
contentDisposition
public GetDataFileResponse.Builder contentDisposition(String contentDisposition)
Content-Disposition header, as described in RFC 2616.- Parameters:
contentDisposition- the value to set- Returns:
- this builder
-
lastModified
public GetDataFileResponse.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 GetDataFileResponse.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
-
inputStream
public GetDataFileResponse.Builder inputStream(InputStream inputStream)
The returned java.io.InputStream instance.- Parameters:
inputStream- the value to set- Returns:
- this builder
-
copy
public GetDataFileResponse.Builder copy(GetDataFileResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetDataFileResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetDataFileResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetDataFileResponse>- Returns:
- the response object
-
-