Package com.oracle.bmc.opsi.responses
Class HeadAwrHubObjectResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.responses.HeadAwrHubObjectResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<HeadAwrHubObjectResponse>
 - Enclosing class:
- HeadAwrHubObjectResponse
 
 public static class HeadAwrHubObjectResponse.Builder extends Object implements BmcResponse.Builder<HeadAwrHubObjectResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadAwrHubObjectResponse.Builder__httpStatusCode__(int __httpStatusCode__)HeadAwrHubObjectResponse.BuilderarchivalState(HeadAwrHubObjectResponse.ArchivalState archivalState)Archival state of an Awr Hub object.HeadAwrHubObjectResponsebuild()Build the response object.HeadAwrHubObjectResponse.BuildercacheControl(String cacheControl)Cache-Control header.HeadAwrHubObjectResponse.BuildercontentDisposition(String contentDisposition)Content-Disposition header.HeadAwrHubObjectResponse.BuildercontentEncoding(String contentEncoding)Content-Encoding header.HeadAwrHubObjectResponse.BuildercontentLanguage(String contentLanguage)Content-Language header.HeadAwrHubObjectResponse.BuildercontentLength(Long contentLength)The Awr Hub object size in bytes.HeadAwrHubObjectResponse.BuildercontentMd5(String contentMd5)Content-MD5 header.HeadAwrHubObjectResponse.BuildercontentType(String contentType)Content-Type header.HeadAwrHubObjectResponse.Buildercopy(HeadAwrHubObjectResponse o)Copy method to populate the builder with values from the given instance.HeadAwrHubObjectResponse.Builderetag(String etag)For optimistic concurrency control.HeadAwrHubObjectResponse.Builderheaders(Map<String,List<String>> headers)HeadAwrHubObjectResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.HeadAwrHubObjectResponse.BuilderlastModified(Date lastModified)The Awr Hub object modification time.HeadAwrHubObjectResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.HeadAwrHubObjectResponse.BuilderopcMeta(Map<String,String> opcMeta)The user-defined metadata for the Awr Hub object.HeadAwrHubObjectResponse.BuilderopcMultipartMd5(String opcMultipartMd5)HeadAwrHubObjectResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.HeadAwrHubObjectResponse.BuilderstorageTier(HeadAwrHubObjectResponse.StorageTier storageTier)The storage tier that the Awr Hub object is stored in.HeadAwrHubObjectResponse.BuildertimeOfArchival(Date timeOfArchival)Time that the Awr Hub object is returned to the archived state.HeadAwrHubObjectResponse.BuilderversionId(String versionId)VersionId of the requested Awr Hub object.
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public HeadAwrHubObjectResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<HeadAwrHubObjectResponse>
 
 - 
headerspublic HeadAwrHubObjectResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<HeadAwrHubObjectResponse>
 
 - 
opcClientRequestIdpublic HeadAwrHubObjectResponse.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 HeadAwrHubObjectResponse.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 HeadAwrHubObjectResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcMetapublic HeadAwrHubObjectResponse.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 HeadAwrHubObjectResponse.Builder contentLength(Long contentLength) The Awr Hub object size in bytes.- Parameters:
- contentLength- the value to set
- Returns:
- this builder
 
 - 
contentMd5public HeadAwrHubObjectResponse.Builder contentMd5(String contentMd5) Content-MD5 header.- Parameters:
- contentMd5- the value to set
- Returns:
- this builder
 
 - 
opcMultipartMd5public HeadAwrHubObjectResponse.Builder opcMultipartMd5(String opcMultipartMd5) - Parameters:
- opcMultipartMd5- the value to set
- Returns:
- this builder
 
 - 
contentTypepublic HeadAwrHubObjectResponse.Builder contentType(String contentType) Content-Type header.- Parameters:
- contentType- the value to set
- Returns:
- this builder
 
 - 
contentLanguagepublic HeadAwrHubObjectResponse.Builder contentLanguage(String contentLanguage) Content-Language header.- Parameters:
- contentLanguage- the value to set
- Returns:
- this builder
 
 - 
contentEncodingpublic HeadAwrHubObjectResponse.Builder contentEncoding(String contentEncoding) Content-Encoding header.- Parameters:
- contentEncoding- the value to set
- Returns:
- this builder
 
 - 
cacheControlpublic HeadAwrHubObjectResponse.Builder cacheControl(String cacheControl) Cache-Control header.- Parameters:
- cacheControl- the value to set
- Returns:
- this builder
 
 - 
contentDispositionpublic HeadAwrHubObjectResponse.Builder contentDisposition(String contentDisposition) Content-Disposition header.- Parameters:
- contentDisposition- the value to set
- Returns:
- this builder
 
 - 
lastModifiedpublic HeadAwrHubObjectResponse.Builder lastModified(Date lastModified) The Awr Hub object modification time.- Parameters:
- lastModified- the value to set
- Returns:
- this builder
 
 - 
storageTierpublic HeadAwrHubObjectResponse.Builder storageTier(HeadAwrHubObjectResponse.StorageTier storageTier) The storage tier that the Awr Hub object is stored in.- Parameters:
- storageTier- the value to set
- Returns:
- this builder
 
 - 
archivalStatepublic HeadAwrHubObjectResponse.Builder archivalState(HeadAwrHubObjectResponse.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 HeadAwrHubObjectResponse.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 HeadAwrHubObjectResponse.Builder versionId(String versionId) VersionId of the requested Awr Hub object.- Parameters:
- versionId- the value to set
- Returns:
- this builder
 
 - 
isNotModifiedpublic HeadAwrHubObjectResponse.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<HeadAwrHubObjectResponse>
- Parameters:
- true- if the object was not modified
 
 - 
copypublic HeadAwrHubObjectResponse.Builder copy(HeadAwrHubObjectResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<HeadAwrHubObjectResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic HeadAwrHubObjectResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<HeadAwrHubObjectResponse>
- Returns:
- the response object
 
 
- 
 
-