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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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 interfaceBmcResponse.Builder<HeadAwrHubObjectResponse>
-
headers
public HeadAwrHubObjectResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<HeadAwrHubObjectResponse>
-
opcClientRequestId
public 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
-
opcRequestId
public 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
-
etag
public HeadAwrHubObjectResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcMeta
public 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
-
contentLength
public HeadAwrHubObjectResponse.Builder contentLength(Long contentLength)
The Awr Hub object size in bytes.- Parameters:
contentLength- the value to set- Returns:
- this builder
-
contentMd5
public HeadAwrHubObjectResponse.Builder contentMd5(String contentMd5)
Content-MD5 header.- Parameters:
contentMd5- the value to set- Returns:
- this builder
-
opcMultipartMd5
public HeadAwrHubObjectResponse.Builder opcMultipartMd5(String opcMultipartMd5)
- Parameters:
opcMultipartMd5- the value to set- Returns:
- this builder
-
contentType
public HeadAwrHubObjectResponse.Builder contentType(String contentType)
Content-Type header.- Parameters:
contentType- the value to set- Returns:
- this builder
-
contentLanguage
public HeadAwrHubObjectResponse.Builder contentLanguage(String contentLanguage)
Content-Language header.- Parameters:
contentLanguage- the value to set- Returns:
- this builder
-
contentEncoding
public HeadAwrHubObjectResponse.Builder contentEncoding(String contentEncoding)
Content-Encoding header.- Parameters:
contentEncoding- the value to set- Returns:
- this builder
-
cacheControl
public HeadAwrHubObjectResponse.Builder cacheControl(String cacheControl)
Cache-Control header.- Parameters:
cacheControl- the value to set- Returns:
- this builder
-
contentDisposition
public HeadAwrHubObjectResponse.Builder contentDisposition(String contentDisposition)
Content-Disposition header.- Parameters:
contentDisposition- the value to set- Returns:
- this builder
-
lastModified
public HeadAwrHubObjectResponse.Builder lastModified(Date lastModified)
The Awr Hub object modification time.- Parameters:
lastModified- the value to set- Returns:
- this builder
-
storageTier
public 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
-
archivalState
public 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
-
timeOfArchival
public 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
-
versionId
public HeadAwrHubObjectResponse.Builder versionId(String versionId)
VersionId of the requested Awr Hub object.- Parameters:
versionId- the value to set- Returns:
- this builder
-
isNotModified
public 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 interfaceBmcResponse.Builder<HeadAwrHubObjectResponse>- Parameters:
true- if the object was not modified
-
copy
public HeadAwrHubObjectResponse.Builder copy(HeadAwrHubObjectResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<HeadAwrHubObjectResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public HeadAwrHubObjectResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<HeadAwrHubObjectResponse>- Returns:
- the response object
-
-