public static class ListSecretVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListSecretVersionsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListSecretVersionsRequest |
build()
Build the instance of ListSecretVersionsRequest as configured by this builder
|
ListSecretVersionsRequest |
buildWithoutInvocationCallback()
Build the instance of ListSecretVersionsRequest as configured by this builder
|
ListSecretVersionsRequest.Builder |
copy(ListSecretVersionsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListSecretVersionsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListSecretVersionsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListSecretVersionsRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListSecretVersionsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListSecretVersionsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListSecretVersionsRequest.Builder |
secretId(String secretId)
The OCID of the secret.
|
ListSecretVersionsRequest.Builder |
sortBy(ListSecretVersionsRequest.SortBy sortBy)
The field to sort by.
|
ListSecretVersionsRequest.Builder |
sortOrder(ListSecretVersionsRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListSecretVersionsRequest.Builder secretId(String secretId)
The OCID of the secret.
secretId
- the value to setpublic ListSecretVersionsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
limit
- the value to setpublic ListSecretVersionsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListSecretVersionsRequest.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.
opcRequestId
- the value to setpublic ListSecretVersionsRequest.Builder sortBy(ListSecretVersionsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Time created is default ordered as descending. Display name is default ordered as ascending.
sortBy
- the value to setpublic ListSecretVersionsRequest.Builder sortOrder(ListSecretVersionsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListSecretVersionsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListSecretVersionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListSecretVersionsRequest.Builder copy(ListSecretVersionsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListSecretVersionsRequest,Void>
o
- other request from which to copy valuespublic ListSecretVersionsRequest build()
Build the instance of ListSecretVersionsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListSecretVersionsRequest,Void>
public ListSecretVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListSecretVersionsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.