public static class ReportDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReportDefinition |
build() |
ReportDefinition.Builder |
category(ReportDefinition.Category category)
Specifies the name of the category that this report belongs to.
|
ReportDefinition.Builder |
columnFilters(List<ColumnFilter> columnFilters)
An array of columnFilter objects.
|
ReportDefinition.Builder |
columnInfo(List<Column> columnInfo)
An array of column objects in the order (left to right) displayed in the report.
|
ReportDefinition.Builder |
columnSortings(List<ColumnSorting> columnSortings)
An array of column sorting objects.
|
ReportDefinition.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the report definition.
|
ReportDefinition.Builder |
complianceStandards(List<String> complianceStandards)
The list of the data protection regulations/standards used in the report that will help
demonstrate compliance.
|
ReportDefinition.Builder |
copy(ReportDefinition model) |
ReportDefinition.Builder |
dataSource(ReportDefinitionDataSource dataSource)
Specifies the name of a resource that provides data for the report.
|
ReportDefinition.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ReportDefinition.Builder |
description(String description)
A description of the report definition.
|
ReportDefinition.Builder |
displayName(String displayName)
Name of the report definition.
|
ReportDefinition.Builder |
displayOrder(Integer displayOrder)
Specifies how the report definitions are ordered in the display.
|
ReportDefinition.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ReportDefinition.Builder |
id(String id)
The OCID of the report definition.
|
ReportDefinition.Builder |
isSeeded(Boolean isSeeded)
Signifies whether the definition is seeded or user defined.
|
ReportDefinition.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the report definition in Data Safe.
|
ReportDefinition.Builder |
lifecycleState(ReportDefinitionLifecycleState lifecycleState)
The current state of the report.
|
ReportDefinition.Builder |
parentId(String parentId)
The OCID of the parent report definition.
|
ReportDefinition.Builder |
recordTimeSpan(String recordTimeSpan)
The time span for the records in the report to be scheduled.
|
ReportDefinition.Builder |
schedule(String schedule)
The schedule to generate the report periodically in the specified format:
|
ReportDefinition.Builder |
scheduledReportCompartmentId(String scheduledReportCompartmentId)
The OCID of the compartment in which the scheduled resource will be created.
|
ReportDefinition.Builder |
scheduledReportMimeType(ReportDefinition.ScheduledReportMimeType scheduledReportMimeType)
Specifies the format of the report ( either .xls or .pdf or .json)
|
ReportDefinition.Builder |
scheduledReportName(String scheduledReportName)
The name of the report to be scheduled.
|
ReportDefinition.Builder |
scheduledReportRowLimit(Integer scheduledReportRowLimit)
Specifies the limit on the number of rows in the report.
|
ReportDefinition.Builder |
scimFilter(String scimFilter)
Additional SCIM filters used to define the report.
|
ReportDefinition.Builder |
summary(List<Summary> summary)
An array of report summary objects in the order (left to right) displayed in the report.
|
ReportDefinition.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ReportDefinition.Builder |
timeCreated(Date timeCreated)
Specifies the date and time the report definition was created.
|
ReportDefinition.Builder |
timeUpdated(Date timeUpdated)
The date and time the report definition was updated.
|
public ReportDefinition.Builder displayName(String displayName)
Name of the report definition.
displayName
- the value to setpublic ReportDefinition.Builder id(String id)
The OCID of the report definition.
id
- the value to setpublic ReportDefinition.Builder parentId(String parentId)
The OCID of the parent report definition. In the case of seeded report definition, this is same as definition OCID.
parentId
- the value to setpublic ReportDefinition.Builder category(ReportDefinition.Category category)
Specifies the name of the category that this report belongs to.
category
- the value to setpublic ReportDefinition.Builder description(String description)
A description of the report definition.
description
- the value to setpublic ReportDefinition.Builder dataSource(ReportDefinitionDataSource dataSource)
Specifies the name of a resource that provides data for the report. For example alerts, events.
dataSource
- the value to setpublic ReportDefinition.Builder isSeeded(Boolean isSeeded)
Signifies whether the definition is seeded or user defined. Values can either be ‘true’ or ‘false’.
isSeeded
- the value to setpublic ReportDefinition.Builder displayOrder(Integer displayOrder)
Specifies how the report definitions are ordered in the display.
displayOrder
- the value to setpublic ReportDefinition.Builder timeCreated(Date timeCreated)
Specifies the date and time the report definition was created.
timeCreated
- the value to setpublic ReportDefinition.Builder timeUpdated(Date timeUpdated)
The date and time the report definition was updated.
timeUpdated
- the value to setpublic ReportDefinition.Builder scimFilter(String scimFilter)
Additional SCIM filters used to define the report.
scimFilter
- the value to setpublic ReportDefinition.Builder columnInfo(List<Column> columnInfo)
An array of column objects in the order (left to right) displayed in the report. A column object stores all information about a column, including the name displayed on the UI, corresponding field name in the data source, data type of the column, and column visibility (if the column is visible to the user).
columnInfo
- the value to setpublic ReportDefinition.Builder columnFilters(List<ColumnFilter> columnFilters)
An array of columnFilter objects. A columnFilter object stores all information about a column filter including field name, an operator, one or more expressions, if the filter is enabled, or if the filter is hidden.
columnFilters
- the value to setpublic ReportDefinition.Builder columnSortings(List<ColumnSorting> columnSortings)
An array of column sorting objects. Each column sorting object stores the column name to be sorted and if the sorting is in ascending order; sorting is done by the first column in the array, then by the second column in the array, etc.
columnSortings
- the value to setpublic ReportDefinition.Builder summary(List<Summary> summary)
An array of report summary objects in the order (left to right) displayed in the report. A report summary object stores all information about summary of report to be displayed, including the name displayed on UI, the display order, corresponding group by and count of values, summary visibility (if the summary is visible to user).
summary
- the value to setpublic ReportDefinition.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the report definition.
compartmentId
- the value to setpublic ReportDefinition.Builder lifecycleState(ReportDefinitionLifecycleState lifecycleState)
The current state of the report.
lifecycleState
- the value to setpublic ReportDefinition.Builder schedule(String schedule)
The schedule to generate the report periodically in the specified format:
Allowed version strings - "v1" v1's version specific schedule -
schedule
- the value to setpublic ReportDefinition.Builder scheduledReportMimeType(ReportDefinition.ScheduledReportMimeType scheduledReportMimeType)
Specifies the format of the report ( either .xls or .pdf or .json)
scheduledReportMimeType
- the value to setpublic ReportDefinition.Builder scheduledReportRowLimit(Integer scheduledReportRowLimit)
Specifies the limit on the number of rows in the report.
scheduledReportRowLimit
- the value to setpublic ReportDefinition.Builder scheduledReportName(String scheduledReportName)
The name of the report to be scheduled.
scheduledReportName
- the value to setpublic ReportDefinition.Builder scheduledReportCompartmentId(String scheduledReportCompartmentId)
The OCID of the compartment in which the scheduled resource will be created.
scheduledReportCompartmentId
- the value to setpublic ReportDefinition.Builder recordTimeSpan(String recordTimeSpan)
The time span for the records in the report to be scheduled.
recordTimeSpan
- the value to setpublic ReportDefinition.Builder complianceStandards(List<String> complianceStandards)
The list of the data protection regulations/standards used in the report that will help demonstrate compliance.
complianceStandards
- the value to setpublic ReportDefinition.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the report definition in Data Safe.
lifecycleDetails
- the value to setpublic ReportDefinition.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic ReportDefinition.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic ReportDefinition.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more
information, see Resource Tags. Example: {"orcl-cloud": {"free-tier-retained":
"true"}}
systemTags
- the value to setpublic ReportDefinition build()
public ReportDefinition.Builder copy(ReportDefinition model)
Copyright © 2016–2024. All rights reserved.