Class GenerateReportRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.GenerateReportRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GenerateReportRequest,GenerateReportDetails>
- Enclosing class:
- GenerateReportRequest
public static class GenerateReportRequest.Builder extends Object implements BmcRequest.Builder<GenerateReportRequest,GenerateReportDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateReportRequest.Builderbody$(GenerateReportDetails body)Alternative setter for the body parameter.GenerateReportRequestbuild()Build the instance of GenerateReportRequest as configured by this builderGenerateReportRequestbuildWithoutInvocationCallback()Build the instance of GenerateReportRequest as configured by this builderGenerateReportRequest.Buildercopy(GenerateReportRequest o)Copy method to populate the builder with values from the given instance.GenerateReportRequest.BuildergenerateReportDetails(GenerateReportDetails generateReportDetails)Details for report generation.GenerateReportRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.GenerateReportRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GenerateReportRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.GenerateReportRequest.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.GenerateReportRequest.BuilderreportDefinitionId(String reportDefinitionId)Unique report definition identifierGenerateReportRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GenerateReportRequest.BuilderscimQuery(String scimQuery)The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339.
-
-
-
Method Detail
-
reportDefinitionId
public GenerateReportRequest.Builder reportDefinitionId(String reportDefinitionId)
Unique report definition identifier- Parameters:
reportDefinitionId- the value to set- Returns:
- this builder instance
-
generateReportDetails
public GenerateReportRequest.Builder generateReportDetails(GenerateReportDetails generateReportDetails)
Details for report generation.It contains details such as PDF/XLS and filter parameters like audit event time limits, number of rows and target databases etc
- Parameters:
generateReportDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public GenerateReportRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public GenerateReportRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public GenerateReportRequest.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
-
scimQuery
public GenerateReportRequest.Builder scimQuery(String scimQuery)
The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339.In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)
*Example:** query=(auditEventTime ge "2021-06-04T01:00:26.000Z") and (eventName eq "LOGON")
- Parameters:
scimQuery- the value to set- Returns:
- this builder instance
-
invocationCallback
public GenerateReportRequest.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 GenerateReportRequest.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 GenerateReportRequest.Builder copy(GenerateReportRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GenerateReportRequest,GenerateReportDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GenerateReportRequest build()
Build the instance of GenerateReportRequest 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<GenerateReportRequest,GenerateReportDetails>- Returns:
- instance of GenerateReportRequest
-
body$
public GenerateReportRequest.Builder body$(GenerateReportDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<GenerateReportRequest,GenerateReportDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public GenerateReportRequest buildWithoutInvocationCallback()
Build the instance of GenerateReportRequest 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 GenerateReportRequest
-
-