public static class ListCertificatesRequest.Builder extends Object implements BmcRequest.Builder<ListCertificatesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListCertificatesRequest |
build()
Build the instance of ListCertificatesRequest as configured by this builder
|
ListCertificatesRequest |
buildWithoutInvocationCallback()
Build the instance of ListCertificatesRequest as configured by this builder
|
ListCertificatesRequest.Builder |
certificateId(String certificateId)
The OCID of the certificate.
|
ListCertificatesRequest.Builder |
compartmentId(String compartmentId)
A filter that returns only resources that match the given compartment OCID.
|
ListCertificatesRequest.Builder |
copy(ListCertificatesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListCertificatesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListCertificatesRequest.Builder |
issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the certificate authority (CA).
|
ListCertificatesRequest.Builder |
lifecycleState(ListCertificatesRequest.LifecycleState lifecycleState)
A filter that returns only resources that match the given lifecycle state.
|
ListCertificatesRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListCertificatesRequest.Builder |
name(String name)
A filter that returns only resources that match the specified name.
|
ListCertificatesRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListCertificatesRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
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 ascending (
ASC ) or descending (DESC ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListCertificatesRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned 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 ListCertificatesRequest.Builder compartmentId(String compartmentId)
A filter that returns only resources that match the given compartment OCID.
compartmentId
- the value to setpublic ListCertificatesRequest.Builder lifecycleState(ListCertificatesRequest.LifecycleState lifecycleState)
A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
lifecycleState
- the value to setpublic ListCertificatesRequest.Builder name(String name)
A filter that returns only resources that match the specified name.
name
- the value to setpublic ListCertificatesRequest.Builder sortBy(ListCertificatesRequest.SortBy sortBy)
The field to sort by. You can specify only one sort order. The default order for EXPIRATIONDATE
and ‘TIMECREATED’ is descending. The default order for NAME
is
ascending.
sortBy
- the value to setpublic ListCertificatesRequest.Builder sortOrder(ListCertificatesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListCertificatesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
limit
- the value to setpublic ListCertificatesRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListCertificatesRequest.Builder issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
issuerCertificateAuthorityId
- the value to setpublic ListCertificatesRequest.Builder certificateId(String certificateId)
The OCID of the certificate. If the parameter is set to null, the service lists all certificates.
certificateId
- the value to setpublic ListCertificatesRequest.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 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.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<ListCertificatesRequest,Void>
public ListCertificatesRequest buildWithoutInvocationCallback()
Build the instance of ListCertificatesRequest 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.