Package com.oracle.bmc.dblm.requests
Class ListDatabasesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dblm.requests.ListDatabasesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDatabasesRequest,Void>
- Enclosing class:
- ListDatabasesRequest
public static class ListDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListDatabasesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDatabasesRequestbuild()Build the instance of ListDatabasesRequest as configured by this builderListDatabasesRequestbuildWithoutInvocationCallback()Build the instance of ListDatabasesRequest as configured by this builderListDatabasesRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListDatabasesRequest.Buildercopy(ListDatabasesRequest o)Copy method to populate the builder with values from the given instance.ListDatabasesRequest.BuilderdatabaseRelease(String databaseRelease)A filter to return only database that match the given release version.ListDatabasesRequest.BuilderdatabaseType(ListDatabasesRequest.DatabaseType databaseType)Filter by database type.ListDatabasesRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListDatabasesRequest.BuilderdrifterPatchId(Integer drifterPatchId)A filter to return only database that have given patchId as additional patch (drifter from image version).ListDatabasesRequest.BuilderimageCompliance(ListDatabasesRequest.ImageCompliance imageCompliance)Filter databases by image compliance status.ListDatabasesRequest.BuilderimageId(String imageId)Subscribed imageListDatabasesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDatabasesRequest.BuilderlifecycleState(DblmVulnerability.LifecycleState lifecycleState)A filter to return only resources their lifecycleState matches the given lifecycleState.ListDatabasesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListDatabasesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListDatabasesRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListDatabasesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDatabasesRequest.BuilderseverityType(ResourcesSeverities singularValue)Singular setter.ListDatabasesRequest.BuilderseverityType(List<ResourcesSeverities> severityType)Filter by one or more severity types.ListDatabasesRequest.BuildersortBy(ListDatabasesRequest.SortBy sortBy)The field to sort by.ListDatabasesRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘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 ListDatabasesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDatabasesRequest.Builder lifecycleState(DblmVulnerability.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
databaseRelease
public ListDatabasesRequest.Builder databaseRelease(String databaseRelease)
A filter to return only database that match the given release version.- Parameters:
databaseRelease- the value to set- Returns:
- this builder instance
-
databaseType
public ListDatabasesRequest.Builder databaseType(ListDatabasesRequest.DatabaseType databaseType)
Filter by database type.Possible values Single Instance or RAC.
- Parameters:
databaseType- the value to set- Returns:
- this builder instance
-
limit
public ListDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListDatabasesRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDatabasesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListDatabasesRequest.Builder sortBy(ListDatabasesRequest.SortBy sortBy)
The field to sort by.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
imageId
public ListDatabasesRequest.Builder imageId(String imageId)
Subscribed image- Parameters:
imageId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDatabasesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
displayName
public ListDatabasesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
drifterPatchId
public ListDatabasesRequest.Builder drifterPatchId(Integer drifterPatchId)
A filter to return only database that have given patchId as additional patch (drifter from image version).- Parameters:
drifterPatchId- the value to set- Returns:
- this builder instance
-
imageCompliance
public ListDatabasesRequest.Builder imageCompliance(ListDatabasesRequest.ImageCompliance imageCompliance)
Filter databases by image compliance status.- Parameters:
imageCompliance- the value to set- Returns:
- this builder instance
-
severityType
public ListDatabasesRequest.Builder severityType(List<ResourcesSeverities> severityType)
Filter by one or more severity types.Possible values are critical, high, medium, low, info and none.
- Parameters:
severityType- the value to set- Returns:
- this builder instance
-
severityType
public ListDatabasesRequest.Builder severityType(ResourcesSeverities singularValue)
Singular setter.Filter by one or more severity types. Possible values are critical, high, medium, low, info and none.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
invocationCallback
public ListDatabasesRequest.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 ListDatabasesRequest.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 ListDatabasesRequest.Builder copy(ListDatabasesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDatabasesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDatabasesRequest build()
Build the instance of ListDatabasesRequest 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<ListDatabasesRequest,Void>- Returns:
- instance of ListDatabasesRequest
-
buildWithoutInvocationCallback
public ListDatabasesRequest buildWithoutInvocationCallback()
Build the instance of ListDatabasesRequest 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 ListDatabasesRequest
-
-