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