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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic 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
 
 - 
lifecycleStatepublic 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
 
 - 
databaseReleasepublic 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
 
 - 
databaseTypepublic 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
 
 - 
limitpublic ListDatabasesRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic 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
 
 - 
sortOrderpublic ListDatabasesRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListDatabasesRequest.Builder sortBy(ListDatabasesRequest.SortBy sortBy) The field to sort by.- Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
imageIdpublic ListDatabasesRequest.Builder imageId(String imageId) Subscribed image- Parameters:
- imageId- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListDatabasesRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic 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
 
 - 
drifterPatchIdpublic 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
 
 - 
imageCompliancepublic ListDatabasesRequest.Builder imageCompliance(ListDatabasesRequest.ImageCompliance imageCompliance) Filter databases by image compliance status.- Parameters:
- imageCompliance- the value to set
- Returns:
- this builder instance
 
 - 
severityTypepublic 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
 
 - 
severityTypepublic 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
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic ListDatabasesRequest.Builder copy(ListDatabasesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListDatabasesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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 interface- BmcRequest.Builder<ListDatabasesRequest,Void>
- Returns:
- instance of ListDatabasesRequest
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-