Package com.oracle.bmc.secrets.requests
Class ListSecretBundleVersionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.secrets.requests.ListSecretBundleVersionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSecretBundleVersionsRequest,Void>
- Enclosing class:
- ListSecretBundleVersionsRequest
public static class ListSecretBundleVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListSecretBundleVersionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSecretBundleVersionsRequestbuild()Build the instance of ListSecretBundleVersionsRequest as configured by this builderListSecretBundleVersionsRequestbuildWithoutInvocationCallback()Build the instance of ListSecretBundleVersionsRequest as configured by this builderListSecretBundleVersionsRequest.Buildercopy(ListSecretBundleVersionsRequest o)Copy method to populate the builder with values from the given instance.ListSecretBundleVersionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListSecretBundleVersionsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListSecretBundleVersionsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListSecretBundleVersionsRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListSecretBundleVersionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListSecretBundleVersionsRequest.BuildersecretId(String secretId)The OCID of the secret.ListSecretBundleVersionsRequest.BuildersortBy(ListSecretBundleVersionsRequest.SortBy sortBy)The field to sort by.ListSecretBundleVersionsRequest.BuildersortOrder(ListSecretBundleVersionsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).-
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.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
secretId
public ListSecretBundleVersionsRequest.Builder secretId(String secretId)
The OCID of the secret.- Parameters:
secretId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSecretBundleVersionsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListSecretBundleVersionsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.For information about pagination, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListSecretBundleVersionsRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.For information about pagination, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortBy
public ListSecretBundleVersionsRequest.Builder sortBy(ListSecretBundleVersionsRequest.SortBy sortBy)
The field to sort by.You can specify only one sort order. The default order for VERSION_NUMBER is descending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSecretBundleVersionsRequest.Builder sortOrder(ListSecretBundleVersionsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSecretBundleVersionsRequest.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
-
retryConfiguration
public ListSecretBundleVersionsRequest.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
-
copy
public ListSecretBundleVersionsRequest.Builder copy(ListSecretBundleVersionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListSecretBundleVersionsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSecretBundleVersionsRequest build()
Build the instance of ListSecretBundleVersionsRequest 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 interfaceBmcRequest.Builder<ListSecretBundleVersionsRequest,Void>- Returns:
- instance of ListSecretBundleVersionsRequest
-
buildWithoutInvocationCallback
public ListSecretBundleVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListSecretBundleVersionsRequest 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 ListSecretBundleVersionsRequest
-
-