Package com.oracle.bmc.database.requests
Class ListDbVersionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListDbVersionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDbVersionsRequest,Void>
- Enclosing class:
- ListDbVersionsRequest
public static class ListDbVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListDbVersionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDbVersionsRequest
build()
Build the instance of ListDbVersionsRequest as configured by this builderListDbVersionsRequest
buildWithoutInvocationCallback()
Build the instance of ListDbVersionsRequest as configured by this builderListDbVersionsRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListDbVersionsRequest.Builder
copy(ListDbVersionsRequest o)
Copy method to populate the builder with values from the given instance.ListDbVersionsRequest.Builder
dbSystemId(String dbSystemId)
The DB system OCID.ListDbVersionsRequest.Builder
dbSystemShape(String dbSystemShape)
If provided, filters the results to the set of database versions which are supported for the given shape.ListDbVersionsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDbVersionsRequest.Builder
isDatabaseSoftwareImageSupported(Boolean isDatabaseSoftwareImageSupported)
If true, filters the results to the set of Oracle Database versions that are supported for OCI database software images.ListDbVersionsRequest.Builder
isUpgradeSupported(Boolean isUpgradeSupported)
If provided, filters the results to the set of database versions which are supported for Upgrade.ListDbVersionsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListDbVersionsRequest.Builder
page(String page)
The pagination token to continue listing from.ListDbVersionsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDbVersionsRequest.Builder
storageManagement(DbSystemOptions.StorageManagement storageManagement)
The DB system storage management option.-
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
-
compartmentId
public ListDbVersionsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
limit
public ListDbVersionsRequest.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 ListDbVersionsRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
dbSystemShape
public ListDbVersionsRequest.Builder dbSystemShape(String dbSystemShape)
If provided, filters the results to the set of database versions which are supported for the given shape.- Parameters:
dbSystemShape
- the value to set- Returns:
- this builder instance
-
dbSystemId
public ListDbVersionsRequest.Builder dbSystemId(String dbSystemId)
The DB system OCID.If provided, filters the results to the set of database versions which are supported for the DB system.
- Parameters:
dbSystemId
- the value to set- Returns:
- this builder instance
-
storageManagement
public ListDbVersionsRequest.Builder storageManagement(DbSystemOptions.StorageManagement storageManagement)
The DB system storage management option.Used to list database versions available for that storage manager. Valid values are ASM and LVM. * ASM specifies Oracle Automatic Storage Management * LVM specifies logical volume manager, sometimes called logical disk manager.
- Parameters:
storageManagement
- the value to set- Returns:
- this builder instance
-
isUpgradeSupported
public ListDbVersionsRequest.Builder isUpgradeSupported(Boolean isUpgradeSupported)
If provided, filters the results to the set of database versions which are supported for Upgrade.- Parameters:
isUpgradeSupported
- the value to set- Returns:
- this builder instance
-
isDatabaseSoftwareImageSupported
public ListDbVersionsRequest.Builder isDatabaseSoftwareImageSupported(Boolean isDatabaseSoftwareImageSupported)
If true, filters the results to the set of Oracle Database versions that are supported for OCI database software images.- Parameters:
isDatabaseSoftwareImageSupported
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDbVersionsRequest.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 ListDbVersionsRequest.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 ListDbVersionsRequest.Builder copy(ListDbVersionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDbVersionsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDbVersionsRequest build()
Build the instance of ListDbVersionsRequest 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<ListDbVersionsRequest,Void>
- Returns:
- instance of ListDbVersionsRequest
-
buildWithoutInvocationCallback
public ListDbVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListDbVersionsRequest 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 ListDbVersionsRequest
-
-