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