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