public static class ListDbSystemUpgradeHistoryEntriesRequest.Builder extends Object implements BmcRequest.Builder<ListDbSystemUpgradeHistoryEntriesRequest,Void>
Constructor and Description |
---|
Builder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListDbSystemUpgradeHistoryEntriesRequest.Builder dbSystemId(String dbSystemId)
The DB system OCID.
dbSystemId
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder page(String page)
The pagination token to continue listing from.
page
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder sortOrder(ListDbSystemUpgradeHistoryEntriesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder sortBy(ListDbSystemUpgradeHistoryEntriesRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder
). Default order
for TIMECREATED is ascending.
sortBy
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder upgradeAction(DbSystemUpgradeHistoryEntrySummary.Action upgradeAction)
A filter to return only upgradeHistoryEntries that match the specified Upgrade Action.
upgradeAction
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder lifecycleState(DbSystemUpgradeHistoryEntrySummary.LifecycleState lifecycleState)
A filter to return only upgrade history entries that match the given lifecycle state exactly.
lifecycleState
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
opcRequestId
- the value to setpublic ListDbSystemUpgradeHistoryEntriesRequest.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 ListDbSystemUpgradeHistoryEntriesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListDbSystemUpgradeHistoryEntriesRequest.Builder copy(ListDbSystemUpgradeHistoryEntriesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListDbSystemUpgradeHistoryEntriesRequest,Void>
o
- other request from which to copy valuespublic ListDbSystemUpgradeHistoryEntriesRequest build()
Build the instance of ListDbSystemUpgradeHistoryEntriesRequest 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<ListDbSystemUpgradeHistoryEntriesRequest,Void>
public ListDbSystemUpgradeHistoryEntriesRequest buildWithoutInvocationCallback()
Build the instance of ListDbSystemUpgradeHistoryEntriesRequest 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–2023. All rights reserved.