Class CreateKnowledgeBaseResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiagent.responses.CreateKnowledgeBaseResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateKnowledgeBaseResponse>
 - Enclosing class:
- CreateKnowledgeBaseResponse
 
 public static class CreateKnowledgeBaseResponse.Builder extends Object implements BmcResponse.Builder<CreateKnowledgeBaseResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateKnowledgeBaseResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateKnowledgeBaseResponse>
 
 - 
headerspublic CreateKnowledgeBaseResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateKnowledgeBaseResponse>
 
 - 
locationpublic CreateKnowledgeBaseResponse.Builder location(String location) URL for the created knowledge base.The knowledge base OCID is generated after this request is sent. - Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
contentLocationpublic CreateKnowledgeBaseResponse.Builder contentLocation(String contentLocation) Same as location.- Parameters:
- contentLocation- the value to set
- Returns:
- this builder
 
 - 
etagpublic CreateKnowledgeBaseResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcWorkRequestIdpublic CreateKnowledgeBaseResponse.Builder opcWorkRequestId(String opcWorkRequestId) The OCID of the asynchronous work request.Use GetWorkRequest with this ID to track the status of the request. - Parameters:
- opcWorkRequestId- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic 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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
knowledgeBasepublic CreateKnowledgeBaseResponse.Builder knowledgeBase(KnowledgeBase knowledgeBase) The returned KnowledgeBase instance.- Parameters:
- knowledgeBase- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateKnowledgeBaseResponse.Builder copy(CreateKnowledgeBaseResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateKnowledgeBaseResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateKnowledgeBaseResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateKnowledgeBaseResponse>
- Returns:
- the response object
 
 
- 
 
-