Class GetAwrDbReportRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.GetAwrDbReportRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetAwrDbReportRequest,Void>
- Enclosing class:
- GetAwrDbReportRequest
public static class GetAwrDbReportRequest.Builder extends Object implements BmcRequest.Builder<GetAwrDbReportRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAwrDbReportRequest.BuilderawrDbId(String awrDbId)The parameter to filter the database by internal ID.GetAwrDbReportRequest.BuilderbeginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)The optional greater than or equal to filter on the snapshot ID.GetAwrDbReportRequestbuild()Build the instance of GetAwrDbReportRequest as configured by this builderGetAwrDbReportRequestbuildWithoutInvocationCallback()Build the instance of GetAwrDbReportRequest as configured by this builderGetAwrDbReportRequest.BuildercontainerId(Integer containerId)The optional query parameter to filter the database container by an exact ID value.GetAwrDbReportRequest.Buildercopy(GetAwrDbReportRequest o)Copy method to populate the builder with values from the given instance.GetAwrDbReportRequest.BuilderendSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)The optional less than or equal to query parameter to filter the snapshot ID.GetAwrDbReportRequest.BuilderinstNums(Integer singularValue)Singular setter.GetAwrDbReportRequest.BuilderinstNums(List<Integer> instNums)The optional multiple value query parameter to filter the database instance numbers.GetAwrDbReportRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetAwrDbReportRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.GetAwrDbReportRequest.BuilderopcNamedCredentialId(String opcNamedCredentialId)The OCID of the Named Credential.GetAwrDbReportRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetAwrDbReportRequest.BuilderopcRetryToken(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.GetAwrDbReportRequest.BuilderreportFormat(GetAwrDbReportRequest.ReportFormat reportFormat)The format of the AWR report.GetAwrDbReportRequest.BuilderreportType(GetAwrDbReportRequest.ReportType reportType)The query parameter to filter the AWR report types.GetAwrDbReportRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetAwrDbReportRequest.BuildertimeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)The optional greater than or equal to query parameter to filter the timestamp.GetAwrDbReportRequest.BuildertimeLessThanOrEqualTo(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 GetAwrDbReportRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
awrDbId
public GetAwrDbReportRequest.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
-
instNums
public GetAwrDbReportRequest.Builder instNums(List<Integer> instNums)
The optional multiple value query parameter to filter the database instance numbers.- Parameters:
instNums- the value to set- Returns:
- this builder instance
-
instNums
public GetAwrDbReportRequest.Builder instNums(Integer singularValue)
Singular setter.The optional multiple value query parameter to filter the database instance numbers.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
beginSnIdGreaterThanOrEqualTo
public GetAwrDbReportRequest.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 GetAwrDbReportRequest.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 GetAwrDbReportRequest.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 GetAwrDbReportRequest.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
-
reportType
public GetAwrDbReportRequest.Builder reportType(GetAwrDbReportRequest.ReportType reportType)
The query parameter to filter the AWR report types.- Parameters:
reportType- the value to set- Returns:
- this builder instance
-
containerId
public GetAwrDbReportRequest.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
-
reportFormat
public GetAwrDbReportRequest.Builder reportFormat(GetAwrDbReportRequest.ReportFormat reportFormat)
The format of the AWR report.- Parameters:
reportFormat- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetAwrDbReportRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public GetAwrDbReportRequest.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 GetAwrDbReportRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetAwrDbReportRequest.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 GetAwrDbReportRequest.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 GetAwrDbReportRequest.Builder copy(GetAwrDbReportRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetAwrDbReportRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetAwrDbReportRequest build()
Build the instance of GetAwrDbReportRequest 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<GetAwrDbReportRequest,Void>- Returns:
- instance of GetAwrDbReportRequest
-
buildWithoutInvocationCallback
public GetAwrDbReportRequest buildWithoutInvocationCallback()
Build the instance of GetAwrDbReportRequest 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 GetAwrDbReportRequest
-
-