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