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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIncidentsResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
ListIncidentsResponse.Builder
asOfTime(String asOfTime)
Returns the age of the incidents in the response in epoch milliseconds.ListIncidentsResponse
build()
Build the response object.ListIncidentsResponse.Builder
copy(ListIncidentsResponse o)
Copy method to populate the builder with values from the given instance.ListIncidentsResponse.Builder
headers(Map<String,List<String>> headers)
ListIncidentsResponse.Builder
items(List<IncidentSummary> items)
A list of com.oracle.bmc.cims.model.IncidentSummary instances.ListIncidentsResponse.Builder
opcNextPage(String opcNextPage)
For list pagination.ListIncidentsResponse.Builder
opcPrevPage(String opcPrevPage)
For list pagination.ListIncidentsResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public ListIncidentsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<ListIncidentsResponse>
-
headers
public ListIncidentsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<ListIncidentsResponse>
-
opcRequestId
public 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
-
opcNextPage
public 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
-
opcPrevPage
public 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
-
asOfTime
public 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
-
items
public 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
-
copy
public ListIncidentsResponse.Builder copy(ListIncidentsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<ListIncidentsResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListIncidentsResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<ListIncidentsResponse>
- Returns:
- the response object
-
-