Package com.oracle.bmc.events.responses
Class CreateRuleResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.events.responses.CreateRuleResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateRuleResponse>
 - Enclosing class:
- CreateRuleResponse
 
 public static class CreateRuleResponse.Builder extends Object implements BmcResponse.Builder<CreateRuleResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRuleResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateRuleResponsebuild()Build the response object.CreateRuleResponse.Buildercopy(CreateRuleResponse o)Copy method to populate the builder with values from the given instance.CreateRuleResponse.Builderetag(String etag)For optimistic concurrency control.CreateRuleResponse.Builderheaders(Map<String,List<String>> headers)CreateRuleResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateRuleResponse.Builderrule(Rule rule)The returned Rule instance.- 
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 CreateRuleResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateRuleResponse>
 
 - 
headerspublic CreateRuleResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateRuleResponse>
 
 - 
etagpublic CreateRuleResponse.Builder etag(String etag) For optimistic concurrency control.Add this value to the if-match parameter in a PUT or DELETE operation. The resource will be updated only if the value you provide matches the etag on the resource. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic CreateRuleResponse.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
 
 - 
rulepublic CreateRuleResponse.Builder rule(Rule rule) The returned Rule instance.- Parameters:
- rule- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateRuleResponse.Builder copy(CreateRuleResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateRuleResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateRuleResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateRuleResponse>
- Returns:
- the response object
 
 
- 
 
-