Package com.oracle.bmc.datasafe.model
Class GenerateReportDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.GenerateReportDetails.Builder
-
- Enclosing class:
- GenerateReportDetails
public static class GenerateReportDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateReportDetailsbuild()GenerateReportDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment into which the resource should be moved.GenerateReportDetails.Buildercopy(GenerateReportDetails model)GenerateReportDetails.Builderdescription(String description)The description of the report to be generatedGenerateReportDetails.BuilderdisplayName(String displayName)The name of the report to be generatedGenerateReportDetails.BuilderisPaginationEnabled(Boolean isPaginationEnabled)Indicates if the reports being generated should be pagination enabled.GenerateReportDetails.BuildermimeType(GenerateReportDetails.MimeType mimeType)Specifies the format of report to be .xls or .pdf or .jsonGenerateReportDetails.BuilderrowLimit(Integer rowLimit)Specifies the limit on the number of rows in the report.GenerateReportDetails.BuildertargetGroupIds(List<String> targetGroupIds)Array of target group OCIDs.GenerateReportDetails.BuildertargetIds(List<String> targetIds)Array of database target OCIDs.GenerateReportDetails.BuildertimeGreaterThan(Date timeGreaterThan)Specifies the time after which the data needs to be reported.GenerateReportDetails.BuildertimeLessThan(Date timeLessThan)Specifies the time until which the data needs to be reported.
-
-
-
Method Detail
-
displayName
public GenerateReportDetails.Builder displayName(String displayName)
The name of the report to be generated- Parameters:
displayName- the value to set- Returns:
- this builder
-
targetIds
public GenerateReportDetails.Builder targetIds(List<String> targetIds)
Array of database target OCIDs.- Parameters:
targetIds- the value to set- Returns:
- this builder
-
targetGroupIds
public GenerateReportDetails.Builder targetGroupIds(List<String> targetGroupIds)
Array of target group OCIDs.- Parameters:
targetGroupIds- the value to set- Returns:
- this builder
-
description
public GenerateReportDetails.Builder description(String description)
The description of the report to be generated- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public GenerateReportDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment into which the resource should be moved.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
mimeType
public GenerateReportDetails.Builder mimeType(GenerateReportDetails.MimeType mimeType)
Specifies the format of report to be .xls or .pdf or .json- Parameters:
mimeType- the value to set- Returns:
- this builder
-
timeLessThan
public GenerateReportDetails.Builder timeLessThan(Date timeLessThan)
Specifies the time until which the data needs to be reported.- Parameters:
timeLessThan- the value to set- Returns:
- this builder
-
timeGreaterThan
public GenerateReportDetails.Builder timeGreaterThan(Date timeGreaterThan)
Specifies the time after which the data needs to be reported.- Parameters:
timeGreaterThan- the value to set- Returns:
- this builder
-
rowLimit
public GenerateReportDetails.Builder rowLimit(Integer rowLimit)
Specifies the limit on the number of rows in the report.- Parameters:
rowLimit- the value to set- Returns:
- this builder
-
isPaginationEnabled
public GenerateReportDetails.Builder isPaginationEnabled(Boolean isPaginationEnabled)
Indicates if the reports being generated should be pagination enabled.If set to true, multiple reports can be generated and the details of next and previous report are present in Report. Values can either be ‘true’ or ‘false’.
- Parameters:
isPaginationEnabled- the value to set- Returns:
- this builder
-
build
public GenerateReportDetails build()
-
copy
public GenerateReportDetails.Builder copy(GenerateReportDetails model)
-
-