Class ListKeyVersionsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.requests.ListKeyVersionsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListKeyVersionsRequest,Void>
 - Enclosing class:
- ListKeyVersionsRequest
 
 public static class ListKeyVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListKeyVersionsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListKeyVersionsRequestbuild()Build the instance of ListKeyVersionsRequest as configured by this builderListKeyVersionsRequestbuildWithoutInvocationCallback()Build the instance of ListKeyVersionsRequest as configured by this builderListKeyVersionsRequest.Buildercopy(ListKeyVersionsRequest o)Copy method to populate the builder with values from the given instance.ListKeyVersionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListKeyVersionsRequest.BuilderkeyId(String keyId)The OCID of the key.ListKeyVersionsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListKeyVersionsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListKeyVersionsRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListKeyVersionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListKeyVersionsRequest.BuildersortBy(ListKeyVersionsRequest.SortBy sortBy)The field to sort by.ListKeyVersionsRequest.BuildersortOrder(ListKeyVersionsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
keyIdpublic ListKeyVersionsRequest.Builder keyId(String keyId) The OCID of the key.- Parameters:
- keyId- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListKeyVersionsRequest.Builder limit(Integer limit) The maximum number of items to return in a paginated “List” call.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListKeyVersionsRequest.Builder page(String page) The value of the opc-next-page response header from the previous “List” call.- Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListKeyVersionsRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListKeyVersionsRequest.Builder sortBy(ListKeyVersionsRequest.SortBy sortBy) The field to sort by.You can specify only one sort order. The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListKeyVersionsRequest.Builder sortOrder(ListKeyVersionsRequest.SortOrder sortOrder) The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListKeyVersionsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic ListKeyVersionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic ListKeyVersionsRequest.Builder copy(ListKeyVersionsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListKeyVersionsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListKeyVersionsRequest build() Build the instance of ListKeyVersionsRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<ListKeyVersionsRequest,Void>
- Returns:
- instance of ListKeyVersionsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListKeyVersionsRequest buildWithoutInvocationCallback() Build the instance of ListKeyVersionsRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListKeyVersionsRequest
 
 
- 
 
-