Class ListAwrDbSnapshotsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.ListAwrDbSnapshotsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAwrDbSnapshotsRequest,Void>
- Enclosing class:
- ListAwrDbSnapshotsRequest
public static class ListAwrDbSnapshotsRequest.Builder extends Object implements BmcRequest.Builder<ListAwrDbSnapshotsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAwrDbSnapshotsRequest.Builder
awrDbId(String awrDbId)
The parameter to filter the database by internal ID.ListAwrDbSnapshotsRequest.Builder
beginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.ListAwrDbSnapshotsRequest
build()
Build the instance of ListAwrDbSnapshotsRequest as configured by this builderListAwrDbSnapshotsRequest
buildWithoutInvocationCallback()
Build the instance of ListAwrDbSnapshotsRequest as configured by this builderListAwrDbSnapshotsRequest.Builder
containerId(Integer containerId)
The optional query parameter to filter the database container by an exact ID value.ListAwrDbSnapshotsRequest.Builder
copy(ListAwrDbSnapshotsRequest o)
Copy method to populate the builder with values from the given instance.ListAwrDbSnapshotsRequest.Builder
endSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot ID.ListAwrDbSnapshotsRequest.Builder
instNum(String instNum)
The optional single value query parameter to filter the database instance number.ListAwrDbSnapshotsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAwrDbSnapshotsRequest.Builder
limit(Integer limit)
The maximum number of records returned in the paginated response.ListAwrDbSnapshotsRequest.Builder
managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.ListAwrDbSnapshotsRequest.Builder
opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.ListAwrDbSnapshotsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListAwrDbSnapshotsRequest.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.ListAwrDbSnapshotsRequest.Builder
page(String page)
The page token representing the page from where the next set of paginated results are retrieved.ListAwrDbSnapshotsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAwrDbSnapshotsRequest.Builder
sortBy(ListAwrDbSnapshotsRequest.SortBy sortBy)
The option to sort the AWR snapshot summary data.ListAwrDbSnapshotsRequest.Builder
sortOrder(SortOrders sortOrder)
The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.ListAwrDbSnapshotsRequest.Builder
timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId
- the value to set- Returns:
- this builder instance
-
awrDbId
public ListAwrDbSnapshotsRequest.Builder awrDbId(String awrDbId)
The parameter to filter the database by internal ID.Note that the internal ID of the database can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs
- Parameters:
awrDbId
- the value to set- Returns:
- this builder instance
-
instNum
public ListAwrDbSnapshotsRequest.Builder instNum(String instNum)
The optional single value query parameter to filter the database instance number.- Parameters:
instNum
- the value to set- Returns:
- this builder instance
-
beginSnIdGreaterThanOrEqualTo
public ListAwrDbSnapshotsRequest.Builder beginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.- Parameters:
beginSnIdGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
endSnIdLessThanOrEqualTo
public ListAwrDbSnapshotsRequest.Builder endSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot ID.- Parameters:
endSnIdLessThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeGreaterThanOrEqualTo
public ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.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
-
containerId
public ListAwrDbSnapshotsRequest.Builder containerId(Integer containerId)
The optional query parameter to filter the database container by an exact ID value.Note that the database container ID can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges
- Parameters:
containerId
- the value to set- Returns:
- this builder instance
-
page
public ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.Builder sortBy(ListAwrDbSnapshotsRequest.SortBy sortBy)
The option to sort the AWR snapshot summary data.- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.Builder copy(ListAwrDbSnapshotsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAwrDbSnapshotsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAwrDbSnapshotsRequest build()
Build the instance of ListAwrDbSnapshotsRequest 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<ListAwrDbSnapshotsRequest,Void>
- Returns:
- instance of ListAwrDbSnapshotsRequest
-
buildWithoutInvocationCallback
public ListAwrDbSnapshotsRequest buildWithoutInvocationCallback()
Build the instance of ListAwrDbSnapshotsRequest 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 ListAwrDbSnapshotsRequest
-
-