Class CreateSqlCollectionResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.responses.CreateSqlCollectionResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateSqlCollectionResponse>
 - Enclosing class:
- CreateSqlCollectionResponse
 
 public static class CreateSqlCollectionResponse.Builder extends Object implements BmcResponse.Builder<CreateSqlCollectionResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSqlCollectionResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateSqlCollectionResponsebuild()Build the response object.CreateSqlCollectionResponse.Buildercopy(CreateSqlCollectionResponse o)Copy method to populate the builder with values from the given instance.CreateSqlCollectionResponse.Builderetag(String etag)For optimistic concurrency control.CreateSqlCollectionResponse.Builderheaders(Map<String,List<String>> headers)CreateSqlCollectionResponse.Builderlocation(String location)The full URI of the SQL collection.CreateSqlCollectionResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateSqlCollectionResponse.BuilderopcWorkRequestId(String opcWorkRequestId)The OCID of the work request.CreateSqlCollectionResponse.BuildersqlCollection(SqlCollection sqlCollection)The returned SqlCollection instance.- 
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 CreateSqlCollectionResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateSqlCollectionResponse>
 
 - 
headerspublic CreateSqlCollectionResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateSqlCollectionResponse>
 
 - 
etagpublic CreateSqlCollectionResponse.Builder etag(String etag) For optimistic concurrency control.For more information, see ETags for Optimistic Concurrency Control - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcWorkRequestIdpublic CreateSqlCollectionResponse.Builder opcWorkRequestId(String opcWorkRequestId) The OCID of the work request.Use getWorkRequestwith this OCID to track the status of the request.- Parameters:
- opcWorkRequestId- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic CreateSqlCollectionResponse.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
 
 - 
locationpublic CreateSqlCollectionResponse.Builder location(String location) The full URI of the SQL collection.- Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
sqlCollectionpublic CreateSqlCollectionResponse.Builder sqlCollection(SqlCollection sqlCollection) The returned SqlCollection instance.- Parameters:
- sqlCollection- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateSqlCollectionResponse.Builder copy(CreateSqlCollectionResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateSqlCollectionResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateSqlCollectionResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateSqlCollectionResponse>
- Returns:
- the response object
 
 
- 
 
-