Class ListSecurityRulesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.responses.ListSecurityRulesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListSecurityRulesResponse>
- Enclosing class:
- ListSecurityRulesResponse
public static class ListSecurityRulesResponse.Builder extends Object implements BmcResponse.Builder<ListSecurityRulesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
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 ListSecurityRulesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<ListSecurityRulesResponse>
-
headers
public ListSecurityRulesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<ListSecurityRulesResponse>
-
opcRequestId
public ListSecurityRulesResponse.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 ListSecurityRulesResponse.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 ListSecurityRulesResponse.Builder opcPrevPage(String opcPrevPage)
For list pagination.When this header appears in the response, previous pages of results exist. For important details about how pagination works, see List Pagination.
- Parameters:
opcPrevPage
- the value to set- Returns:
- this builder
-
opcPageCount
public ListSecurityRulesResponse.Builder opcPageCount(String opcPageCount)
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. This is to get the page counts overall.
- Parameters:
opcPageCount
- the value to set- Returns:
- this builder
-
opcTotalItems
public ListSecurityRulesResponse.Builder opcTotalItems(Integer opcTotalItems)
For pagination of a list of items.This provides the count of total items across pages.
- Parameters:
opcTotalItems
- the value to set- Returns:
- this builder
-
securityRuleSummaryCollection
public ListSecurityRulesResponse.Builder securityRuleSummaryCollection(SecurityRuleSummaryCollection securityRuleSummaryCollection)
The returned SecurityRuleSummaryCollection instance.- Parameters:
securityRuleSummaryCollection
- the value to set- Returns:
- this builder
-
copy
public ListSecurityRulesResponse.Builder copy(ListSecurityRulesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<ListSecurityRulesResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSecurityRulesResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<ListSecurityRulesResponse>
- Returns:
- the response object
-
-