Class ListRetentionRulesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.ListRetentionRulesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListRetentionRulesResponse>
- Enclosing class:
- ListRetentionRulesResponse
public static class ListRetentionRulesResponse.Builder extends Object implements BmcResponse.Builder<ListRetentionRulesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRetentionRulesResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
ListRetentionRulesResponse
build()
Build the response object.ListRetentionRulesResponse.Builder
copy(ListRetentionRulesResponse o)
Copy method to populate the builder with values from the given instance.ListRetentionRulesResponse.Builder
headers(Map<String,List<String>> headers)
ListRetentionRulesResponse.Builder
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.ListRetentionRulesResponse.Builder
opcNextPage(String opcNextPage)
Paginating a list of retention rules.ListRetentionRulesResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListRetentionRulesResponse.Builder
retentionRuleCollection(RetentionRuleCollection retentionRuleCollection)
The returned RetentionRuleCollection instance.-
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 ListRetentionRulesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<ListRetentionRulesResponse>
-
headers
public ListRetentionRulesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<ListRetentionRulesResponse>
-
opcRequestId
public ListRetentionRulesResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
opcClientRequestId
public ListRetentionRulesResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId
- the value to set- Returns:
- this builder
-
opcNextPage
public ListRetentionRulesResponse.Builder opcNextPage(String opcNextPage)
Paginating a list of retention rules.If the opc-next-page header appears in the response, it indicates that this is a partial list of retention rules and there are additional rules to get. Include the value of this header as the page parameter in a subsequent GET request to get the next set of retention rules. Repeat this process to retrieve the entire list of retention rules.
For more details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
- Parameters:
opcNextPage
- the value to set- Returns:
- this builder
-
retentionRuleCollection
public ListRetentionRulesResponse.Builder retentionRuleCollection(RetentionRuleCollection retentionRuleCollection)
The returned RetentionRuleCollection instance.- Parameters:
retentionRuleCollection
- the value to set- Returns:
- this builder
-
copy
public ListRetentionRulesResponse.Builder copy(ListRetentionRulesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<ListRetentionRulesResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListRetentionRulesResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<ListRetentionRulesResponse>
- Returns:
- the response object
-
-