Class ListBucketsResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.objectstorage.responses.ListBucketsResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListBucketsResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListBucketsResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListBucketsResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
List<BucketSummary>
getItems()
A list of com.oracle.bmc.objectstorage.model.BucketSummary instances.String
getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.String
getOpcNextPage()
For paginating a list of buckets.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.int
hashCode()
String
toString()
-
Methods inherited from class com.oracle.bmc.responses.BmcResponse
canEqual, get__httpStatusCode__, getHeaders
-
-
-
-
Method Detail
-
getOpcClientRequestId
public String getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Returns:
- the value
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Returns:
- the value
-
getOpcNextPage
public String getOpcNextPage()
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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
- Returns:
- the value
-
getItems
public List<BucketSummary> getItems()
A list of com.oracle.bmc.objectstorage.model.BucketSummary instances.- Returns:
- the value
-
builder
public static ListBucketsResponse.Builder builder()
Return a new builder for this response object.- Returns:
- builder for the response object
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBmcResponse
-
-