Package com.oracle.bmc.devops.responses
Class ListProtectedBranchesResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.devops.responses.ListProtectedBranchesResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<ListProtectedBranchesResponse>
 - Enclosing class:
- ListProtectedBranchesResponse
 
 public static class ListProtectedBranchesResponse.Builder extends Object implements BmcResponse.Builder<ListProtectedBranchesResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProtectedBranchesResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListProtectedBranchesResponsebuild()Build the response object.ListProtectedBranchesResponse.Buildercopy(ListProtectedBranchesResponse o)Copy method to populate the builder with values from the given instance.ListProtectedBranchesResponse.Builderheaders(Map<String,List<String>> headers)ListProtectedBranchesResponse.BuilderopcNextPage(String opcNextPage)For pagination of a list of items.ListProtectedBranchesResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListProtectedBranchesResponse.BuilderprotectedBranchCollection(ProtectedBranchCollection protectedBranchCollection)The returned ProtectedBranchCollection 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 ListProtectedBranchesResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<ListProtectedBranchesResponse>
 
 - 
headerspublic ListProtectedBranchesResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<ListProtectedBranchesResponse>
 
 - 
opcRequestIdpublic ListProtectedBranchesResponse.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
opcNextPagepublic ListProtectedBranchesResponse.Builder opcNextPage(String opcNextPage) For pagination of a list of items.When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the page parameter for the subsequent GET request to get the next batch of items. - Parameters:
- opcNextPage- the value to set
- Returns:
- this builder
 
 - 
protectedBranchCollectionpublic ListProtectedBranchesResponse.Builder protectedBranchCollection(ProtectedBranchCollection protectedBranchCollection) The returned ProtectedBranchCollection instance.- Parameters:
- protectedBranchCollection- the value to set
- Returns:
- this builder
 
 - 
copypublic ListProtectedBranchesResponse.Builder copy(ListProtectedBranchesResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<ListProtectedBranchesResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListProtectedBranchesResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<ListProtectedBranchesResponse>
- Returns:
- the response object
 
 
- 
 
-