Package com.oracle.bmc.budget.responses
Class ListAlertRulesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.budget.responses.ListAlertRulesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListAlertRulesResponse>
- Enclosing class:
- ListAlertRulesResponse
public static class ListAlertRulesResponse.Builder extends Object implements BmcResponse.Builder<ListAlertRulesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAlertRulesResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListAlertRulesResponsebuild()Build the response object.ListAlertRulesResponse.Buildercopy(ListAlertRulesResponse o)Copy method to populate the builder with values from the given instance.ListAlertRulesResponse.Builderheaders(Map<String,List<String>> headers)ListAlertRulesResponse.Builderitems(List<AlertRuleSummary> items)A list of com.oracle.bmc.budget.model.AlertRuleSummary instances.ListAlertRulesResponse.BuilderopcNextPage(String opcNextPage)For pagination of a list of AlertRuleSummary.ListAlertRulesResponse.BuilderopcRequestId(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 ListAlertRulesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListAlertRulesResponse>
-
headers
public ListAlertRulesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListAlertRulesResponse>
-
opcRequestId
public ListAlertRulesResponse.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 ListAlertRulesResponse.Builder opcNextPage(String opcNextPage)
For pagination of a list of AlertRuleSummary.If this header appears in the response, then this is a partial list of AlertRuleSummaries. Include this value as the page parameter in a subsequent GET request to get the next batch of AlertRuleSummaries.
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
items
public ListAlertRulesResponse.Builder items(List<AlertRuleSummary> items)
A list of com.oracle.bmc.budget.model.AlertRuleSummary instances.- Parameters:
items- the value to set- Returns:
- this builder
-
copy
public ListAlertRulesResponse.Builder copy(ListAlertRulesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListAlertRulesResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAlertRulesResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListAlertRulesResponse>- Returns:
- the response object
-
-