public static class CreateKnowledgeBaseResponse.Builder extends Object implements BmcResponse.Builder<CreateKnowledgeBaseResponse>
Constructor and Description |
---|
Builder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateKnowledgeBaseResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateKnowledgeBaseResponse>
public CreateKnowledgeBaseResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateKnowledgeBaseResponse>
public CreateKnowledgeBaseResponse.Builder location(String location)
URL for the created knowledge base. The knowledge base OCID is generated after this request is sent.
location
- the value to setpublic CreateKnowledgeBaseResponse.Builder contentLocation(String contentLocation)
Same as location.
contentLocation
- the value to setpublic CreateKnowledgeBaseResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic CreateKnowledgeBaseResponse.Builder opcWorkRequestId(String opcWorkRequestId)
The OCID of the asynchronous work request. Use GetWorkRequest with this ID to track the status of the request.
opcWorkRequestId
- the value to setpublic CreateKnowledgeBaseResponse.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.
opcRequestId
- the value to setpublic CreateKnowledgeBaseResponse.Builder knowledgeBase(KnowledgeBase knowledgeBase)
The returned KnowledgeBase
instance.
knowledgeBase
- the value to setpublic CreateKnowledgeBaseResponse.Builder copy(CreateKnowledgeBaseResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateKnowledgeBaseResponse>
o
- other request from which to copy valuespublic CreateKnowledgeBaseResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateKnowledgeBaseResponse>
Copyright © 2016–2024. All rights reserved.