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