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