public static class ListBucketsResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListBucketsResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
ListBucketsResponse |
build()
Build the response object.
|
ListBucketsResponse.Builder |
copy(ListBucketsResponse o)
Copy method to populate the builder with values from the given instance.
|
ListBucketsResponse.Builder |
items(List<BucketSummary> items)
A list of com.oracle.bmc.objectstorage.model.BucketSummary instances.
|
ListBucketsResponse.Builder |
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
|
ListBucketsResponse.Builder |
opcNextPage(String opcNextPage)
For paginating a list of buckets.
|
ListBucketsResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
public ListBucketsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
public ListBucketsResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
opcClientRequestId
- the value to setpublic ListBucketsResponse.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.
opcRequestId
- the value to setpublic ListBucketsResponse.Builder opcNextPage(String opcNextPage)
For paginating a list of buckets.
In the GET request, set the limit to the number of buckets items that you want returned in the response.
If the opc-next-page
header appears in the response, then this is a partial list and there are additional
buckets to get. Include the header’s value as the page
parameter in the subsequent GET request to get the
next batch of buckets. Repeat this process to retrieve the entire list of buckets.
By default, the page limit is set to 25 buckets per page, but you can specify a value from 1 to 1000.
For more details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
opcNextPage
- the value to setpublic ListBucketsResponse.Builder items(List<BucketSummary> items)
A list of com.oracle.bmc.objectstorage.model.BucketSummary instances.
items
- the value to setpublic ListBucketsResponse.Builder copy(ListBucketsResponse o)
Copy method to populate the builder with values from the given instance.
public ListBucketsResponse build()
Build the response object.
Copyright © 2016–2022. All rights reserved.