public static class CreateTaskRunResponse.Builder extends Object implements BmcResponse.Builder<CreateTaskRunResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateTaskRunResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
CreateTaskRunResponse |
build()
Build the response object.
|
CreateTaskRunResponse.Builder |
copy(CreateTaskRunResponse o)
Copy method to populate the builder with values from the given instance.
|
CreateTaskRunResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
CreateTaskRunResponse.Builder |
headers(Map<String,List<String>> headers) |
CreateTaskRunResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateTaskRunResponse.Builder |
taskRun(TaskRun taskRun)
The returned
TaskRun instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateTaskRunResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateTaskRunResponse>
public CreateTaskRunResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateTaskRunResponse>
public CreateTaskRunResponse.Builder etag(String etag)
For optimistic concurrency control. See ETags for Optimistic Concurrency Control.
etag
- the value to setpublic CreateTaskRunResponse.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 CreateTaskRunResponse.Builder taskRun(TaskRun taskRun)
The returned TaskRun
instance.
taskRun
- the value to setpublic CreateTaskRunResponse.Builder copy(CreateTaskRunResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateTaskRunResponse>
o
- other request from which to copy valuespublic CreateTaskRunResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateTaskRunResponse>
Copyright © 2016–2024. All rights reserved.