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