Package com.oracle.bmc.opsi.responses
Class GetAwrHubObjectResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.responses.GetAwrHubObjectResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetAwrHubObjectResponse>
 - Enclosing class:
- GetAwrHubObjectResponse
 
 public static class GetAwrHubObjectResponse.Builder extends Object implements BmcResponse.Builder<GetAwrHubObjectResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAwrHubObjectResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetAwrHubObjectResponse.BuilderarchivalState(GetAwrHubObjectResponse.ArchivalState archivalState)Archival state of an Awr Hub object.GetAwrHubObjectResponsebuild()Build the response object.GetAwrHubObjectResponse.BuildercacheControl(String cacheControl)Cache-Control header.GetAwrHubObjectResponse.BuildercontentDisposition(String contentDisposition)Content-Disposition header.GetAwrHubObjectResponse.BuildercontentEncoding(String contentEncoding)Content-Encoding header.GetAwrHubObjectResponse.BuildercontentLanguage(String contentLanguage)Content-Language header.GetAwrHubObjectResponse.BuildercontentLength(Long contentLength)The Awr Hub object size in bytes.GetAwrHubObjectResponse.BuildercontentMd5(String contentMd5)Content-MD5 header.GetAwrHubObjectResponse.BuildercontentRange(Range contentRange)Content-Range header.GetAwrHubObjectResponse.BuildercontentType(String contentType)Content-Type header.GetAwrHubObjectResponse.Buildercopy(GetAwrHubObjectResponse o)Copy method to populate the builder with values from the given instance.GetAwrHubObjectResponse.Builderetag(String etag)For optimistic concurrency control.GetAwrHubObjectResponse.Builderexpires(Date expires)The date and time after which the Awr Hub object is no longer cached by a browser, proxy, or other caching entity.GetAwrHubObjectResponse.Builderheaders(Map<String,List<String>> headers)GetAwrHubObjectResponse.BuilderinputStream(InputStream inputStream)The returned java.io.InputStream instance, or null ifGetAwrHubObjectResponse.isNotModified()is true.GetAwrHubObjectResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.GetAwrHubObjectResponse.BuilderlastModified(Date lastModified)The Awr Hub object modification time.GetAwrHubObjectResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.GetAwrHubObjectResponse.BuilderopcMeta(Map<String,String> opcMeta)The user-defined metadata for the Awr Hub object.GetAwrHubObjectResponse.BuilderopcMultipartMd5(String opcMultipartMd5)GetAwrHubObjectResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetAwrHubObjectResponse.BuilderstorageTier(GetAwrHubObjectResponse.StorageTier storageTier)The storage tier that the Awr Hub object is stored in.GetAwrHubObjectResponse.BuildertimeOfArchival(Date timeOfArchival)Time that the Awr Hub object is returned to the archived state.GetAwrHubObjectResponse.BuilderversionId(String versionId)VersionId of the requested Awr Hub object.
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetAwrHubObjectResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetAwrHubObjectResponse>
 
 - 
headerspublic GetAwrHubObjectResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetAwrHubObjectResponse>
 
 - 
opcClientRequestIdpublic GetAwrHubObjectResponse.Builder opcClientRequestId(String opcClientRequestId) Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
- opcClientRequestId- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic GetAwrHubObjectResponse.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
 
 - 
etagpublic GetAwrHubObjectResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcMetapublic GetAwrHubObjectResponse.Builder opcMeta(Map<String,String> opcMeta) The user-defined metadata for the Awr Hub object.- Parameters:
- opcMeta- the value to set
- Returns:
- this builder
 
 - 
contentLengthpublic GetAwrHubObjectResponse.Builder contentLength(Long contentLength) The Awr Hub object size in bytes.- Parameters:
- contentLength- the value to set
- Returns:
- this builder
 
 - 
contentRangepublic GetAwrHubObjectResponse.Builder contentRange(Range contentRange) Content-Range header.- Parameters:
- contentRange- the value to set
- Returns:
- this builder
 
 - 
contentMd5public GetAwrHubObjectResponse.Builder contentMd5(String contentMd5) Content-MD5 header.- Parameters:
- contentMd5- the value to set
- Returns:
- this builder
 
 - 
opcMultipartMd5public GetAwrHubObjectResponse.Builder opcMultipartMd5(String opcMultipartMd5) - Parameters:
- opcMultipartMd5- the value to set
- Returns:
- this builder
 
 - 
contentTypepublic GetAwrHubObjectResponse.Builder contentType(String contentType) Content-Type header.- Parameters:
- contentType- the value to set
- Returns:
- this builder
 
 - 
contentLanguagepublic GetAwrHubObjectResponse.Builder contentLanguage(String contentLanguage) Content-Language header.- Parameters:
- contentLanguage- the value to set
- Returns:
- this builder
 
 - 
contentEncodingpublic GetAwrHubObjectResponse.Builder contentEncoding(String contentEncoding) Content-Encoding header.- Parameters:
- contentEncoding- the value to set
- Returns:
- this builder
 
 - 
cacheControlpublic GetAwrHubObjectResponse.Builder cacheControl(String cacheControl) Cache-Control header.- Parameters:
- cacheControl- the value to set
- Returns:
- this builder
 
 - 
contentDispositionpublic GetAwrHubObjectResponse.Builder contentDisposition(String contentDisposition) Content-Disposition header.- Parameters:
- contentDisposition- the value to set
- Returns:
- this builder
 
 - 
lastModifiedpublic GetAwrHubObjectResponse.Builder lastModified(Date lastModified) The Awr Hub object modification time.- Parameters:
- lastModified- the value to set
- Returns:
- this builder
 
 - 
storageTierpublic GetAwrHubObjectResponse.Builder storageTier(GetAwrHubObjectResponse.StorageTier storageTier) The storage tier that the Awr Hub object is stored in.- Parameters:
- storageTier- the value to set
- Returns:
- this builder
 
 - 
archivalStatepublic GetAwrHubObjectResponse.Builder archivalState(GetAwrHubObjectResponse.ArchivalState archivalState) Archival state of an Awr Hub object.This field is set only for Awr Hub objects in Archive tier. - Parameters:
- archivalState- the value to set
- Returns:
- this builder
 
 - 
timeOfArchivalpublic GetAwrHubObjectResponse.Builder timeOfArchival(Date timeOfArchival) Time that the Awr Hub object is returned to the archived state.- Parameters:
- timeOfArchival- the value to set
- Returns:
- this builder
 
 - 
versionIdpublic GetAwrHubObjectResponse.Builder versionId(String versionId) VersionId of the requested Awr Hub object.- Parameters:
- versionId- the value to set
- Returns:
- this builder
 
 - 
expirespublic GetAwrHubObjectResponse.Builder expires(Date expires) The date and time after which the Awr Hub object is no longer cached by a browser, proxy, or other caching entity.- Parameters:
- expires- the value to set
- Returns:
- this builder
 
 - 
inputStreampublic GetAwrHubObjectResponse.Builder inputStream(InputStream inputStream) The returned java.io.InputStream instance, or null ifGetAwrHubObjectResponse.isNotModified()is true.- Parameters:
- inputStream- the value to set
- Returns:
- this builder
 
 - 
isNotModifiedpublic GetAwrHubObjectResponse.Builder isNotModified(boolean isNotModified) Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’). - Specified by:
- isNotModifiedin interface- BmcResponse.Builder<GetAwrHubObjectResponse>
- Parameters:
- true- if the object was not modified
 
 - 
copypublic GetAwrHubObjectResponse.Builder copy(GetAwrHubObjectResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetAwrHubObjectResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetAwrHubObjectResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetAwrHubObjectResponse>
- Returns:
- the response object
 
 
- 
 
-