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