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