public static class ListSecretsRequest.Builder extends Object implements BmcRequest.Builder<ListSecretsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListSecretsRequest |
build()
Build the instance of ListSecretsRequest as configured by this builder
|
ListSecretsRequest |
buildWithoutInvocationCallback() |
ListSecretsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
ListSecretsRequest.Builder |
copy(ListSecretsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListSecretsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListSecretsRequest.Builder |
lifecycleState(SecretSummary.LifecycleState lifecycleState)
A filter that returns only resources that match the specified lifecycle state.
|
ListSecretsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListSecretsRequest.Builder |
name(String name)
The secret name.
|
ListSecretsRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListSecretsRequest.Builder |
page(String page)
The value of the
opc-next-page response header
from the previous “List” call. |
ListSecretsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListSecretsRequest.Builder |
sortBy(ListSecretsRequest.SortBy sortBy)
The field to sort by.
|
ListSecretsRequest.Builder |
sortOrder(ListSecretsRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
String |
toString() |
ListSecretsRequest.Builder |
vaultId(String vaultId)
The OCID of the vault.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListSecretsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListSecretsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListSecretsRequest.Builder copy(ListSecretsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListSecretsRequest,Void>
o
- other request from which to copy valuespublic ListSecretsRequest build()
Build the instance of ListSecretsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListSecretsRequest,Void>
public ListSecretsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
this
.public ListSecretsRequest.Builder name(String name)
The secret name.
this
.public ListSecretsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
this
.public ListSecretsRequest.Builder page(String page)
The value of the opc-next-page
response header
from the previous “List” call.
this
.public ListSecretsRequest.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.
this
.public ListSecretsRequest.Builder sortBy(ListSecretsRequest.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 NAME
is ascending.
this
.public ListSecretsRequest.Builder sortOrder(ListSecretsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListSecretsRequest.Builder vaultId(String vaultId)
The OCID of the vault.
this
.public ListSecretsRequest.Builder lifecycleState(SecretSummary.LifecycleState lifecycleState)
A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.
this
.public ListSecretsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.