Class CreateAlertPolicyResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.responses.CreateAlertPolicyResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateAlertPolicyResponse>
 - Enclosing class:
- CreateAlertPolicyResponse
 
 public static class CreateAlertPolicyResponse.Builder extends Object implements BmcResponse.Builder<CreateAlertPolicyResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAlertPolicyResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateAlertPolicyResponse.BuilderalertPolicy(AlertPolicy alertPolicy)The returned AlertPolicy instance.CreateAlertPolicyResponsebuild()Build the response object.CreateAlertPolicyResponse.Buildercopy(CreateAlertPolicyResponse o)Copy method to populate the builder with values from the given instance.CreateAlertPolicyResponse.Builderetag(String etag)For optimistic concurrency control.CreateAlertPolicyResponse.Builderheaders(Map<String,List<String>> headers)CreateAlertPolicyResponse.Builderlocation(String location)The full URI of the alert policy.CreateAlertPolicyResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateAlertPolicyResponse.BuilderopcWorkRequestId(String opcWorkRequestId)The OCID of the work request.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateAlertPolicyResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateAlertPolicyResponse>
 
 - 
headerspublic CreateAlertPolicyResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateAlertPolicyResponse>
 
 - 
etagpublic CreateAlertPolicyResponse.Builder etag(String etag) For optimistic concurrency control.For more information, see ETags for Optimistic Concurrency Control - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcWorkRequestIdpublic CreateAlertPolicyResponse.Builder opcWorkRequestId(String opcWorkRequestId) The OCID of the work request.Use getWorkRequestwith this OCID to track the status of the request.- Parameters:
- opcWorkRequestId- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic CreateAlertPolicyResponse.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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
locationpublic CreateAlertPolicyResponse.Builder location(String location) The full URI of the alert policy.- Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
alertPolicypublic CreateAlertPolicyResponse.Builder alertPolicy(AlertPolicy alertPolicy) The returned AlertPolicy instance.- Parameters:
- alertPolicy- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateAlertPolicyResponse.Builder copy(CreateAlertPolicyResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateAlertPolicyResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateAlertPolicyResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateAlertPolicyResponse>
- Returns:
- the response object
 
 
- 
 
-