public static class SummarizeAwrDbMetricsRequest.Builder extends Object implements BmcRequest.Builder<SummarizeAwrDbMetricsRequest,Void>
Modifier and Type | Method and Description |
---|---|
SummarizeAwrDbMetricsRequest.Builder |
awrDbId(String awrDbId)
The parameter to filter the database by internal ID.
|
SummarizeAwrDbMetricsRequest.Builder |
beginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.
|
SummarizeAwrDbMetricsRequest |
build()
Build the instance of SummarizeAwrDbMetricsRequest as configured by this builder
|
SummarizeAwrDbMetricsRequest |
buildWithoutInvocationCallback() |
SummarizeAwrDbMetricsRequest.Builder |
containerId(Integer containerId)
The optional query parameter to filter the database container by an exact ID value.
|
SummarizeAwrDbMetricsRequest.Builder |
copy(SummarizeAwrDbMetricsRequest o)
Copy method to populate the builder with values from the given instance.
|
SummarizeAwrDbMetricsRequest.Builder |
endSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot ID.
|
SummarizeAwrDbMetricsRequest.Builder |
instNum(String instNum)
The optional single value query parameter to filter the database instance number.
|
SummarizeAwrDbMetricsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
SummarizeAwrDbMetricsRequest.Builder |
limit(Integer limit)
The maximum number of records returned in large paginated response.
|
SummarizeAwrDbMetricsRequest.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
|
SummarizeAwrDbMetricsRequest.Builder |
name(List<String> name)
The required multiple value query parameter to filter the entity name.
|
SummarizeAwrDbMetricsRequest.Builder |
name(String singularValue)
Singular setter.
|
SummarizeAwrDbMetricsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
SummarizeAwrDbMetricsRequest.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.
|
SummarizeAwrDbMetricsRequest.Builder |
page(String page)
The page token representing the page from where the next set of paginated results
are retrieved.
|
SummarizeAwrDbMetricsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
SummarizeAwrDbMetricsRequest.Builder |
sortBy(SummarizeAwrDbMetricsRequest.SortBy sortBy)
The option to sort the AWR time series summary data.
|
SummarizeAwrDbMetricsRequest.Builder |
sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order.
|
SummarizeAwrDbMetricsRequest.Builder |
timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.
|
SummarizeAwrDbMetricsRequest.Builder |
timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public SummarizeAwrDbMetricsRequest.Builder name(List<String> name)
The required multiple value query parameter to filter the entity name.
public SummarizeAwrDbMetricsRequest.Builder name(String singularValue)
Singular setter. The required multiple value query parameter to filter the entity name.
public SummarizeAwrDbMetricsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic SummarizeAwrDbMetricsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic SummarizeAwrDbMetricsRequest.Builder copy(SummarizeAwrDbMetricsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<SummarizeAwrDbMetricsRequest,Void>
o
- other request from which to copy valuespublic SummarizeAwrDbMetricsRequest build()
Build the instance of SummarizeAwrDbMetricsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<SummarizeAwrDbMetricsRequest,Void>
public SummarizeAwrDbMetricsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
this
.public SummarizeAwrDbMetricsRequest.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
this
.public SummarizeAwrDbMetricsRequest.Builder instNum(String instNum)
The optional single value query parameter to filter the database instance number.
this
.public SummarizeAwrDbMetricsRequest.Builder beginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.
this
.public SummarizeAwrDbMetricsRequest.Builder endSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot ID.
this
.public SummarizeAwrDbMetricsRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.
this
.public SummarizeAwrDbMetricsRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.
this
.public SummarizeAwrDbMetricsRequest.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
this
.public SummarizeAwrDbMetricsRequest.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.
this
.public SummarizeAwrDbMetricsRequest.Builder limit(Integer limit)
The maximum number of records returned in large paginated response.
this
.public SummarizeAwrDbMetricsRequest.Builder sortBy(SummarizeAwrDbMetricsRequest.SortBy sortBy)
The option to sort the AWR time series summary data.
this
.public SummarizeAwrDbMetricsRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order.
this
.public SummarizeAwrDbMetricsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public SummarizeAwrDbMetricsRequest.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.
this
.public SummarizeAwrDbMetricsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.