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