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