Package com.oracle.bmc.database.requests
Class ListPdbConversionHistoryEntriesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListPdbConversionHistoryEntriesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPdbConversionHistoryEntriesRequest,Void>
- Enclosing class:
- ListPdbConversionHistoryEntriesRequest
public static class ListPdbConversionHistoryEntriesRequest.Builder extends Object implements BmcRequest.Builder<ListPdbConversionHistoryEntriesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPdbConversionHistoryEntriesRequest
build()
Build the instance of ListPdbConversionHistoryEntriesRequest as configured by this builderListPdbConversionHistoryEntriesRequest
buildWithoutInvocationCallback()
Build the instance of ListPdbConversionHistoryEntriesRequest as configured by this builderListPdbConversionHistoryEntriesRequest.Builder
copy(ListPdbConversionHistoryEntriesRequest o)
Copy method to populate the builder with values from the given instance.ListPdbConversionHistoryEntriesRequest.Builder
databaseId(String databaseId)
The database OCID.ListPdbConversionHistoryEntriesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPdbConversionHistoryEntriesRequest.Builder
lifecycleState(PdbConversionHistoryEntrySummary.LifecycleState lifecycleState)
A filter to return only the pluggable database conversion history entries that match the specified lifecycle state.ListPdbConversionHistoryEntriesRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListPdbConversionHistoryEntriesRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListPdbConversionHistoryEntriesRequest.Builder
page(String page)
The pagination token to continue listing from.ListPdbConversionHistoryEntriesRequest.Builder
pdbConversionAction(PdbConversionHistoryEntrySummary.Action pdbConversionAction)
A filter to return only the pluggable database conversion history entries that match the specified conversion action.ListPdbConversionHistoryEntriesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPdbConversionHistoryEntriesRequest.Builder
sortBy(ListPdbConversionHistoryEntriesRequest.SortBy sortBy)
The field to sort by.ListPdbConversionHistoryEntriesRequest.Builder
sortOrder(ListPdbConversionHistoryEntriesRequest.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
-
databaseId
public ListPdbConversionHistoryEntriesRequest.Builder databaseId(String databaseId)
The database OCID.- Parameters:
databaseId
- the value to set- Returns:
- this builder instance
-
pdbConversionAction
public ListPdbConversionHistoryEntriesRequest.Builder pdbConversionAction(PdbConversionHistoryEntrySummary.Action pdbConversionAction)
A filter to return only the pluggable database conversion history entries that match the specified conversion action.For example, you can use this filter to return only entries for the precheck operation.
- Parameters:
pdbConversionAction
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListPdbConversionHistoryEntriesRequest.Builder lifecycleState(PdbConversionHistoryEntrySummary.LifecycleState lifecycleState)
A filter to return only the pluggable database conversion history entries that match the specified lifecycle state.For example, you can use this filter to return only entries in the “failed” lifecycle state.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
sortBy
public ListPdbConversionHistoryEntriesRequest.Builder sortBy(ListPdbConversionHistoryEntriesRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). The default order for TIMECREATED is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListPdbConversionHistoryEntriesRequest.Builder sortOrder(ListPdbConversionHistoryEntriesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListPdbConversionHistoryEntriesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListPdbConversionHistoryEntriesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListPdbConversionHistoryEntriesRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPdbConversionHistoryEntriesRequest.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 ListPdbConversionHistoryEntriesRequest.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 ListPdbConversionHistoryEntriesRequest.Builder copy(ListPdbConversionHistoryEntriesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListPdbConversionHistoryEntriesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPdbConversionHistoryEntriesRequest build()
Build the instance of ListPdbConversionHistoryEntriesRequest 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:
build
in interfaceBmcRequest.Builder<ListPdbConversionHistoryEntriesRequest,Void>
- Returns:
- instance of ListPdbConversionHistoryEntriesRequest
-
buildWithoutInvocationCallback
public ListPdbConversionHistoryEntriesRequest buildWithoutInvocationCallback()
Build the instance of ListPdbConversionHistoryEntriesRequest 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 ListPdbConversionHistoryEntriesRequest
-
-