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