Class ListPrivateEndpointsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.ListPrivateEndpointsResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListPrivateEndpointsResponse>
- Enclosing class:
- ListPrivateEndpointsResponse
public static class ListPrivateEndpointsResponse.Builder extends Object implements BmcResponse.Builder<ListPrivateEndpointsResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrivateEndpointsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListPrivateEndpointsResponsebuild()Build the response object.ListPrivateEndpointsResponse.Buildercopy(ListPrivateEndpointsResponse o)Copy method to populate the builder with values from the given instance.ListPrivateEndpointsResponse.Builderheaders(Map<String,List<String>> headers)ListPrivateEndpointsResponse.Builderitems(List<PrivateEndpointSummary> items)A list of com.oracle.bmc.objectstorage.model.PrivateEndpointSummary instances.ListPrivateEndpointsResponse.BuilderopcClientRequestId(String opcClientRequestId)Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.ListPrivateEndpointsResponse.BuilderopcNextPage(String opcNextPage)For paginating a list of PEs.ListPrivateEndpointsResponse.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 ListPrivateEndpointsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListPrivateEndpointsResponse>
-
headers
public ListPrivateEndpointsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListPrivateEndpointsResponse>
-
opcClientRequestId
public ListPrivateEndpointsResponse.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
-
opcRequestId
public ListPrivateEndpointsResponse.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
-
opcNextPage
public ListPrivateEndpointsResponse.Builder opcNextPage(String opcNextPage)
For paginating a list of PEs.In the GET request, set the limit to the number of Private Endpoint 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 Private Endpoint’s to get. Include the header’s value as the page parameter in the subsequent GET request to get the next batch of PEs. Repeat this process to retrieve the entire list of Private Endpoint’s. By default, the page limit is set to 25 Private Endpoint’s per page, but you can specify a value from 1 to 1000. For more details about how pagination works, see List Pagination.
- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
items
public ListPrivateEndpointsResponse.Builder items(List<PrivateEndpointSummary> items)
A list of com.oracle.bmc.objectstorage.model.PrivateEndpointSummary instances.- Parameters:
items- the value to set- Returns:
- this builder
-
copy
public ListPrivateEndpointsResponse.Builder copy(ListPrivateEndpointsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListPrivateEndpointsResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPrivateEndpointsResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListPrivateEndpointsResponse>- Returns:
- the response object
-
-