public static class ListCertificatesRequest.Builder extends Object implements BmcRequest.Builder<ListCertificatesRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListCertificatesRequest |
build()
Build the instance of ListCertificatesRequest as configured by this builder
|
ListCertificatesRequest |
buildWithoutInvocationCallback() |
ListCertificatesRequest.Builder |
compartmentId(String compartmentId)
The ocid of the compartment in which to list resources.
|
ListCertificatesRequest.Builder |
copy(ListCertificatesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListCertificatesRequest.Builder |
displayName(String displayName)
A user-friendly name.
|
ListCertificatesRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListCertificatesRequest.Builder |
lifecycleState(Certificate.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state.
|
ListCertificatesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListCertificatesRequest.Builder |
opcRequestId(String opcRequestId)
The client request id for tracing.
|
ListCertificatesRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListCertificatesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListCertificatesRequest.Builder |
sortBy(ListCertificatesRequest.SortBy sortBy)
The field to sort by.
|
ListCertificatesRequest.Builder |
sortOrder(ListCertificatesRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListCertificatesRequest.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 ListCertificatesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListCertificatesRequest.Builder copy(ListCertificatesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListCertificatesRequest,Void>
o
- other request from which to copy valuespublic ListCertificatesRequest build()
Build the instance of ListCertificatesRequest 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<ListCertificatesRequest,Void>
public ListCertificatesRequest.Builder compartmentId(String compartmentId)
The ocid of the compartment in which to list resources.
this
.public ListCertificatesRequest.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable.
Example: My new resource
this
.public ListCertificatesRequest.Builder lifecycleState(Certificate.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state.
Example: ACTIVE
or DELETED
this
.public ListCertificatesRequest.Builder limit(Integer limit)
The maximum number of items to return.
this
.public ListCertificatesRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
this
.public ListCertificatesRequest.Builder sortOrder(ListCertificatesRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’. The default order depends on the sortBy value.
this
.public ListCertificatesRequest.Builder sortBy(ListCertificatesRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder
).
Default order for timeCreated
is descending. Default order for
displayName
is ascending. The displayName
sort order is case
sensitive.
this
.public ListCertificatesRequest.Builder opcRequestId(String opcRequestId)
The client request id for tracing.
this
.public ListCertificatesRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.