Class ListDatabaseToolsSqlReportsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetools.requests.ListDatabaseToolsSqlReportsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDatabaseToolsSqlReportsRequest,Void>
- Enclosing class:
- ListDatabaseToolsSqlReportsRequest
public static class ListDatabaseToolsSqlReportsRequest.Builder extends Object implements BmcRequest.Builder<ListDatabaseToolsSqlReportsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDatabaseToolsSqlReportsRequestbuild()Build the instance of ListDatabaseToolsSqlReportsRequest as configured by this builderListDatabaseToolsSqlReportsRequestbuildWithoutInvocationCallback()Build the instance of ListDatabaseToolsSqlReportsRequest as configured by this builderListDatabaseToolsSqlReportsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListDatabaseToolsSqlReportsRequest.Buildercopy(ListDatabaseToolsSqlReportsRequest o)Copy method to populate the builder with values from the given instance.ListDatabaseToolsSqlReportsRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire specified display name.ListDatabaseToolsSqlReportsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDatabaseToolsSqlReportsRequest.BuilderlifecycleState(DatabaseToolsSqlReportLifecycleState lifecycleState)A filter to return resources only when their databaseToolsSqlReportLifecycleState matches the specified databaseToolsSqlReportLifecycleState.ListDatabaseToolsSqlReportsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListDatabaseToolsSqlReportsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListDatabaseToolsSqlReportsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListDatabaseToolsSqlReportsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDatabaseToolsSqlReportsRequest.BuildersortBy(ListDatabaseToolsSqlReportsRequest.SortBy sortBy)The field to sort by.ListDatabaseToolsSqlReportsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘asc’ or ‘desc’.ListDatabaseToolsSqlReportsRequest.Buildertype(DatabaseToolsSqlReportType singularValue)Singular setter.ListDatabaseToolsSqlReportsRequest.Buildertype(List<DatabaseToolsSqlReportType> type)A filter to return only resources with one of the specified type values.-
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 ListDatabaseToolsSqlReportsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDatabaseToolsSqlReportsRequest.Builder lifecycleState(DatabaseToolsSqlReportLifecycleState lifecycleState)
A filter to return resources only when their databaseToolsSqlReportLifecycleState matches the specified databaseToolsSqlReportLifecycleState.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
displayName
public ListDatabaseToolsSqlReportsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire specified display name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
limit
public ListDatabaseToolsSqlReportsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListDatabaseToolsSqlReportsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDatabaseToolsSqlReportsRequest.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 ListDatabaseToolsSqlReportsRequest.Builder sortBy(ListDatabaseToolsSqlReportsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDatabaseToolsSqlReportsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
type
public ListDatabaseToolsSqlReportsRequest.Builder type(List<DatabaseToolsSqlReportType> type)
A filter to return only resources with one of the specified type values.- Parameters:
type- the value to set- Returns:
- this builder instance
-
type
public ListDatabaseToolsSqlReportsRequest.Builder type(DatabaseToolsSqlReportType singularValue)
Singular setter.A filter to return only resources with one of the specified type values.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
invocationCallback
public ListDatabaseToolsSqlReportsRequest.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 ListDatabaseToolsSqlReportsRequest.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 ListDatabaseToolsSqlReportsRequest.Builder copy(ListDatabaseToolsSqlReportsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDatabaseToolsSqlReportsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDatabaseToolsSqlReportsRequest build()
Build the instance of ListDatabaseToolsSqlReportsRequest 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<ListDatabaseToolsSqlReportsRequest,Void>- Returns:
- instance of ListDatabaseToolsSqlReportsRequest
-
buildWithoutInvocationCallback
public ListDatabaseToolsSqlReportsRequest buildWithoutInvocationCallback()
Build the instance of ListDatabaseToolsSqlReportsRequest 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 ListDatabaseToolsSqlReportsRequest
-
-