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