Package com.oracle.bmc.database.requests
Class ListDatabaseSoftwareImagesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListDatabaseSoftwareImagesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDatabaseSoftwareImagesRequest,Void>
- Enclosing class:
- ListDatabaseSoftwareImagesRequest
public static class ListDatabaseSoftwareImagesRequest.Builder extends Object implements BmcRequest.Builder<ListDatabaseSoftwareImagesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDatabaseSoftwareImagesRequest
build()
Build the instance of ListDatabaseSoftwareImagesRequest as configured by this builderListDatabaseSoftwareImagesRequest
buildWithoutInvocationCallback()
Build the instance of ListDatabaseSoftwareImagesRequest as configured by this builderListDatabaseSoftwareImagesRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListDatabaseSoftwareImagesRequest.Builder
copy(ListDatabaseSoftwareImagesRequest o)
Copy method to populate the builder with values from the given instance.ListDatabaseSoftwareImagesRequest.Builder
dbSystemId(String dbSystemId)
The DB system OCID.ListDatabaseSoftwareImagesRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ListDatabaseSoftwareImagesRequest.Builder
imageShapeFamily(DatabaseSoftwareImageSummary.ImageShapeFamily imageShapeFamily)
A filter to return only resources that match the given image shape family exactly.ListDatabaseSoftwareImagesRequest.Builder
imageType(DatabaseSoftwareImageSummary.ImageType imageType)
A filter to return only resources that match the given image type exactly.ListDatabaseSoftwareImagesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDatabaseSoftwareImagesRequest.Builder
isUpgradeSupported(Boolean isUpgradeSupported)
If provided, filters the results to the set of database versions which are supported for Upgrade.ListDatabaseSoftwareImagesRequest.Builder
lifecycleState(DatabaseSoftwareImageSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.ListDatabaseSoftwareImagesRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListDatabaseSoftwareImagesRequest.Builder
page(String page)
The pagination token to continue listing from.ListDatabaseSoftwareImagesRequest.Builder
patchSetGreaterThanOrEqualTo(String patchSetGreaterThanOrEqualTo)
A filter to return only resources with patchSet greater than or equal to given value.ListDatabaseSoftwareImagesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDatabaseSoftwareImagesRequest.Builder
sortBy(ListDatabaseSoftwareImagesRequest.SortBy sortBy)
The field to sort by.ListDatabaseSoftwareImagesRequest.Builder
sortOrder(ListDatabaseSoftwareImagesRequest.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
-
compartmentId
public ListDatabaseSoftwareImagesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
limit
public ListDatabaseSoftwareImagesRequest.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 ListDatabaseSoftwareImagesRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDatabaseSoftwareImagesRequest.Builder sortBy(ListDatabaseSoftwareImagesRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. Default order for PATCHSET is descending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDatabaseSoftwareImagesRequest.Builder sortOrder(ListDatabaseSoftwareImagesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDatabaseSoftwareImagesRequest.Builder lifecycleState(DatabaseSoftwareImageSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListDatabaseSoftwareImagesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.The match is not case sensitive.
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
imageType
public ListDatabaseSoftwareImagesRequest.Builder imageType(DatabaseSoftwareImageSummary.ImageType imageType)
A filter to return only resources that match the given image type exactly.- Parameters:
imageType
- the value to set- Returns:
- this builder instance
-
imageShapeFamily
public ListDatabaseSoftwareImagesRequest.Builder imageShapeFamily(DatabaseSoftwareImageSummary.ImageShapeFamily imageShapeFamily)
A filter to return only resources that match the given image shape family exactly.- Parameters:
imageShapeFamily
- the value to set- Returns:
- this builder instance
-
patchSetGreaterThanOrEqualTo
public ListDatabaseSoftwareImagesRequest.Builder patchSetGreaterThanOrEqualTo(String patchSetGreaterThanOrEqualTo)
A filter to return only resources with patchSet greater than or equal to given value.- Parameters:
patchSetGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
dbSystemId
public ListDatabaseSoftwareImagesRequest.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
-
isUpgradeSupported
public ListDatabaseSoftwareImagesRequest.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
-
invocationCallback
public ListDatabaseSoftwareImagesRequest.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 ListDatabaseSoftwareImagesRequest.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 ListDatabaseSoftwareImagesRequest.Builder copy(ListDatabaseSoftwareImagesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDatabaseSoftwareImagesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDatabaseSoftwareImagesRequest build()
Build the instance of ListDatabaseSoftwareImagesRequest 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<ListDatabaseSoftwareImagesRequest,Void>
- Returns:
- instance of ListDatabaseSoftwareImagesRequest
-
buildWithoutInvocationCallback
public ListDatabaseSoftwareImagesRequest buildWithoutInvocationCallback()
Build the instance of ListDatabaseSoftwareImagesRequest 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 ListDatabaseSoftwareImagesRequest
-
-