Class ListAwrDbsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.ListAwrDbsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAwrDbsRequest,Void>
- Enclosing class:
- ListAwrDbsRequest
public static class ListAwrDbsRequest.Builder extends Object implements BmcRequest.Builder<ListAwrDbsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAwrDbsRequest
build()
Build the instance of ListAwrDbsRequest as configured by this builderListAwrDbsRequest
buildWithoutInvocationCallback()
Build the instance of ListAwrDbsRequest as configured by this builderListAwrDbsRequest.Builder
copy(ListAwrDbsRequest o)
Copy method to populate the builder with values from the given instance.ListAwrDbsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAwrDbsRequest.Builder
limit(Integer limit)
The maximum number of records returned in the paginated response.ListAwrDbsRequest.Builder
managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.ListAwrDbsRequest.Builder
name(String name)
The optional single value query parameter to filter the entity name.ListAwrDbsRequest.Builder
opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.ListAwrDbsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListAwrDbsRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ListAwrDbsRequest.Builder
page(String page)
The page token representing the page from where the next set of paginated results are retrieved.ListAwrDbsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAwrDbsRequest.Builder
sortBy(ListAwrDbsRequest.SortBy sortBy)
The option to sort the AWR summary data.ListAwrDbsRequest.Builder
sortOrder(SortOrders sortOrder)
The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.ListAwrDbsRequest.Builder
timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.ListAwrDbsRequest.Builder
timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.-
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
-
managedDatabaseId
public ListAwrDbsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId
- the value to set- Returns:
- this builder instance
-
name
public ListAwrDbsRequest.Builder name(String name)
The optional single value query parameter to filter the entity name.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
timeGreaterThanOrEqualTo
public ListAwrDbsRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.- Parameters:
timeGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeLessThanOrEqualTo
public ListAwrDbsRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.- Parameters:
timeLessThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
page
public ListAwrDbsRequest.Builder page(String page)
The page token representing the page from where the next set of paginated results are retrieved.This is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public ListAwrDbsRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
sortBy
public ListAwrDbsRequest.Builder sortBy(ListAwrDbsRequest.SortBy sortBy)
The option to sort the AWR summary data.- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAwrDbsRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.Descending order is the default order.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAwrDbsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListAwrDbsRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
opcNamedCredentialId
public ListAwrDbsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAwrDbsRequest.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 ListAwrDbsRequest.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 ListAwrDbsRequest.Builder copy(ListAwrDbsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAwrDbsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAwrDbsRequest build()
Build the instance of ListAwrDbsRequest 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<ListAwrDbsRequest,Void>
- Returns:
- instance of ListAwrDbsRequest
-
buildWithoutInvocationCallback
public ListAwrDbsRequest buildWithoutInvocationCallback()
Build the instance of ListAwrDbsRequest 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 ListAwrDbsRequest
-
-