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