Package com.oracle.bmc.cims.responses
Class ListIncidentsResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.cims.responses.ListIncidentsResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<ListIncidentsResponse>
 - Enclosing class:
- ListIncidentsResponse
 
 public static class ListIncidentsResponse.Builder extends Object implements BmcResponse.Builder<ListIncidentsResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIncidentsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListIncidentsResponse.BuilderasOfTime(String asOfTime)Returns the age of the incidents in the response in epoch milliseconds.ListIncidentsResponsebuild()Build the response object.ListIncidentsResponse.Buildercopy(ListIncidentsResponse o)Copy method to populate the builder with values from the given instance.ListIncidentsResponse.Builderheaders(Map<String,List<String>> headers)ListIncidentsResponse.Builderitems(List<IncidentSummary> items)A list of com.oracle.bmc.cims.model.IncidentSummary instances.ListIncidentsResponse.BuilderopcNextPage(String opcNextPage)For list pagination.ListIncidentsResponse.BuilderopcPrevPage(String opcPrevPage)For list pagination.ListIncidentsResponse.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 ListIncidentsResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<ListIncidentsResponse>
 
 - 
headerspublic ListIncidentsResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<ListIncidentsResponse>
 
 - 
opcRequestIdpublic ListIncidentsResponse.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
 
 - 
opcNextPagepublic ListIncidentsResponse.Builder opcNextPage(String opcNextPage) For list pagination.When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination. - Parameters:
- opcNextPage- the value to set
- Returns:
- this builder
 
 - 
opcPrevPagepublic ListIncidentsResponse.Builder opcPrevPage(String opcPrevPage) For list pagination.When this header appears in the response, previous pages of results can be queried. For important details about how pagination works, see List Pagination. - Parameters:
- opcPrevPage- the value to set
- Returns:
- this builder
 
 - 
asOfTimepublic ListIncidentsResponse.Builder asOfTime(String asOfTime) Returns the age of the incidents in the response in epoch milliseconds.This is used because the incidents might be cached. - Parameters:
- asOfTime- the value to set
- Returns:
- this builder
 
 - 
itemspublic ListIncidentsResponse.Builder items(List<IncidentSummary> items) A list of com.oracle.bmc.cims.model.IncidentSummary instances.- Parameters:
- items- the value to set
- Returns:
- this builder
 
 - 
copypublic ListIncidentsResponse.Builder copy(ListIncidentsResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<ListIncidentsResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListIncidentsResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<ListIncidentsResponse>
- Returns:
- the response object
 
 
- 
 
-