Class ListCaBundlesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.certificatesmanagement.requests.ListCaBundlesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCaBundlesRequest,Void>
- Enclosing class:
- ListCaBundlesRequest
public static class ListCaBundlesRequest.Builder extends Object implements BmcRequest.Builder<ListCaBundlesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCaBundlesRequestbuild()Build the instance of ListCaBundlesRequest as configured by this builderListCaBundlesRequestbuildWithoutInvocationCallback()Build the instance of ListCaBundlesRequest as configured by this builderListCaBundlesRequest.BuildercaBundleId(String caBundleId)The OCID of the CA bundle.ListCaBundlesRequest.BuildercompartmentId(String compartmentId)A filter that returns only resources that match the given compartment OCID.ListCaBundlesRequest.Buildercopy(ListCaBundlesRequest o)Copy method to populate the builder with values from the given instance.ListCaBundlesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCaBundlesRequest.BuilderlifecycleState(ListCaBundlesRequest.LifecycleState lifecycleState)A filter that returns only resources that match the given lifecycle state.ListCaBundlesRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListCaBundlesRequest.Buildername(String name)A filter that returns only resources that match the specified name.ListCaBundlesRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListCaBundlesRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListCaBundlesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCaBundlesRequest.BuildersortBy(ListCaBundlesRequest.SortBy sortBy)The field to sort by.ListCaBundlesRequest.BuildersortOrder(ListCaBundlesRequest.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
-
opcRequestId
public ListCaBundlesRequest.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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
compartmentId
public ListCaBundlesRequest.Builder compartmentId(String compartmentId)
A filter that returns only resources that match the given compartment OCID.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListCaBundlesRequest.Builder lifecycleState(ListCaBundlesRequest.LifecycleState lifecycleState)
A filter that returns only resources that match the given lifecycle state.The state value is case-insensitive.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
name
public ListCaBundlesRequest.Builder name(String name)
A filter that returns only resources that match the specified name.- Parameters:
name- the value to set- Returns:
- this builder instance
-
sortBy
public ListCaBundlesRequest.Builder sortBy(ListCaBundlesRequest.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.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListCaBundlesRequest.Builder sortOrder(ListCaBundlesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
limit
public ListCaBundlesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListCaBundlesRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page- the value to set- Returns:
- this builder instance
-
caBundleId
public ListCaBundlesRequest.Builder caBundleId(String caBundleId)
The OCID of the CA bundle.- Parameters:
caBundleId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListCaBundlesRequest.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 ListCaBundlesRequest.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 ListCaBundlesRequest.Builder copy(ListCaBundlesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListCaBundlesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCaBundlesRequest build()
Build the instance of ListCaBundlesRequest 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<ListCaBundlesRequest,Void>- Returns:
- instance of ListCaBundlesRequest
-
buildWithoutInvocationCallback
public ListCaBundlesRequest buildWithoutInvocationCallback()
Build the instance of ListCaBundlesRequest 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 ListCaBundlesRequest
-
-