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