public static class CreateAlertPolicyRuleResponse.Builder extends Object implements BmcResponse.Builder<CreateAlertPolicyRuleResponse>
Constructor and Description |
---|
Builder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateAlertPolicyRuleResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateAlertPolicyRuleResponse>
public CreateAlertPolicyRuleResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateAlertPolicyRuleResponse>
public CreateAlertPolicyRuleResponse.Builder etag(String etag)
For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control
etag
- the value to setpublic CreateAlertPolicyRuleResponse.Builder opcWorkRequestId(String opcWorkRequestId)
The OCID of the work request. Use getWorkRequest
with this OCID to track the status of the request.
opcWorkRequestId
- the value to setpublic CreateAlertPolicyRuleResponse.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 CreateAlertPolicyRuleResponse.Builder location(String location)
The full URI of the alert policy rule.
location
- the value to setpublic CreateAlertPolicyRuleResponse.Builder alertPolicyRule(AlertPolicyRule alertPolicyRule)
The returned AlertPolicyRule
instance.
alertPolicyRule
- the value to setpublic CreateAlertPolicyRuleResponse.Builder copy(CreateAlertPolicyRuleResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateAlertPolicyRuleResponse>
o
- other request from which to copy valuespublic CreateAlertPolicyRuleResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateAlertPolicyRuleResponse>
Copyright © 2016–2024. All rights reserved.