Class ReportDefinition
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.ReportDefinition
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class ReportDefinition extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDescription of report definition.
Note: Objects should always be created or deserialized using theReportDefinition.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theReportDefinition.Builder, which maintain a set of all explicitly set fields calledReportDefinition.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportDefinition.Builderstatic classReportDefinition.CategorySpecifies the name of the category that this report belongs to.static classReportDefinition.ScheduledReportMimeTypeSpecifies the format of the report ( either .xls or .pdf or .json)
-
Constructor Summary
Constructors Constructor Description ReportDefinition(String displayName, String id, String parentId, ReportDefinition.Category category, String description, ReportDefinitionDataSource dataSource, Boolean isSeeded, Integer displayOrder, Date timeCreated, Date timeUpdated, String scimFilter, List<Column> columnInfo, List<ColumnFilter> columnFilters, List<ColumnSorting> columnSortings, List<Summary> summary, String compartmentId, ReportDefinitionLifecycleState lifecycleState, String schedule, ReportDefinition.ScheduledReportMimeType scheduledReportMimeType, Integer scheduledReportRowLimit, String scheduledReportName, String scheduledReportCompartmentId, String recordTimeSpan, List<String> complianceStandards, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportDefinition.Builderbuilder()Create a new builder.booleanequals(Object o)ReportDefinition.CategorygetCategory()Specifies the name of the category that this report belongs to.List<ColumnFilter>getColumnFilters()An array of columnFilter objects.List<Column>getColumnInfo()An array of column objects in the order (left to right) displayed in the report.List<ColumnSorting>getColumnSortings()An array of column sorting objects.StringgetCompartmentId()The OCID of the compartment containing the report definition.List<String>getComplianceStandards()The list of the data protection regulations/standards used in the report that will help demonstrate compliance.ReportDefinitionDataSourcegetDataSource()Specifies the name of a resource that provides data for the report.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()A description of the report definition.StringgetDisplayName()Name of the report definition.IntegergetDisplayOrder()Specifies how the report definitions are ordered in the display.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the report definition.BooleangetIsSeeded()Signifies whether the definition is seeded or user defined.StringgetLifecycleDetails()Details about the current state of the report definition in Data Safe.ReportDefinitionLifecycleStategetLifecycleState()The current state of the report.StringgetParentId()The OCID of the parent report definition.StringgetRecordTimeSpan()The time span for the records in the report to be scheduled.StringgetSchedule()The schedule to generate the report periodically in the specified format:; StringgetScheduledReportCompartmentId()The OCID of the compartment in which the scheduled resource will be created.ReportDefinition.ScheduledReportMimeTypegetScheduledReportMimeType()Specifies the format of the report ( either .xls or .pdf or .json)StringgetScheduledReportName()The name of the report to be scheduled.IntegergetScheduledReportRowLimit()Specifies the limit on the number of rows in the report.StringgetScimFilter()Additional SCIM filters used to define the report.List<Summary>getSummary()An array of report summary objects in the order (left to right) displayed in the report.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()Specifies the date and time the report definition was created.DategetTimeUpdated()The date and time the report definition was updated.inthashCode()ReportDefinition.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ReportDefinition
@Deprecated @ConstructorProperties({"displayName","id","parentId","category","description","dataSource","isSeeded","displayOrder","timeCreated","timeUpdated","scimFilter","columnInfo","columnFilters","columnSortings","summary","compartmentId","lifecycleState","schedule","scheduledReportMimeType","scheduledReportRowLimit","scheduledReportName","scheduledReportCompartmentId","recordTimeSpan","complianceStandards","lifecycleDetails","freeformTags","definedTags","systemTags"}) public ReportDefinition(String displayName, String id, String parentId, ReportDefinition.Category category, String description, ReportDefinitionDataSource dataSource, Boolean isSeeded, Integer displayOrder, Date timeCreated, Date timeUpdated, String scimFilter, List<Column> columnInfo, List<ColumnFilter> columnFilters, List<ColumnSorting> columnSortings, List<Summary> summary, String compartmentId, ReportDefinitionLifecycleState lifecycleState, String schedule, ReportDefinition.ScheduledReportMimeType scheduledReportMimeType, Integer scheduledReportRowLimit, String scheduledReportName, String scheduledReportCompartmentId, String recordTimeSpan, List<String> complianceStandards, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static ReportDefinition.Builder builder()
Create a new builder.
-
toBuilder
public ReportDefinition.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
Name of the report definition.- Returns:
- the value
-
getId
public String getId()
The OCID of the report definition.- Returns:
- the value
-
getParentId
public String getParentId()
The OCID of the parent report definition.In the case of seeded report definition, this is same as definition OCID.
- Returns:
- the value
-
getCategory
public ReportDefinition.Category getCategory()
Specifies the name of the category that this report belongs to.- Returns:
- the value
-
getDescription
public String getDescription()
A description of the report definition.- Returns:
- the value
-
getDataSource
public ReportDefinitionDataSource getDataSource()
Specifies the name of a resource that provides data for the report.For example alerts, events.
- Returns:
- the value
-
getIsSeeded
public Boolean getIsSeeded()
Signifies whether the definition is seeded or user defined.Values can either be ‘true’ or ‘false’.
- Returns:
- the value
-
getDisplayOrder
public Integer getDisplayOrder()
Specifies how the report definitions are ordered in the display.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Specifies the date and time the report definition was created.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the report definition was updated.- Returns:
- the value
-
getScimFilter
public String getScimFilter()
Additional SCIM filters used to define the report.- Returns:
- the value
-
getColumnInfo
public List<Column> getColumnInfo()
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).
- Returns:
- the value
-
getColumnFilters
public List<ColumnFilter> getColumnFilters()
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.
- Returns:
- the value
-
getColumnSortings
public List<ColumnSorting> getColumnSortings()
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.
- Returns:
- the value
-
getSummary
public List<Summary> getSummary()
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).
- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment containing the report definition.- Returns:
- the value
-
getLifecycleState
public ReportDefinitionLifecycleState getLifecycleState()
The current state of the report.- Returns:
- the value
-
getSchedule
public String getSchedule()
The schedule to generate the report periodically in the specified format:; Allowed version strings - "v1" v1's version specific schedule -
Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) 4. can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) No constraint introduced when it is '*'. When not, day of week must equal the given value 5. can be either '*' (without quotes or a number between 1 and 28) No constraint introduced when it is '*'. When not, day of month must equal the given value - Returns:
- the value
-
getScheduledReportMimeType
public ReportDefinition.ScheduledReportMimeType getScheduledReportMimeType()
Specifies the format of the report ( either .xls or .pdf or .json)- Returns:
- the value
-
getScheduledReportRowLimit
public Integer getScheduledReportRowLimit()
Specifies the limit on the number of rows in the report.- Returns:
- the value
-
getScheduledReportName
public String getScheduledReportName()
The name of the report to be scheduled.- Returns:
- the value
-
getScheduledReportCompartmentId
public String getScheduledReportCompartmentId()
The OCID of the compartment in which the scheduled resource will be created.- Returns:
- the value
-
getRecordTimeSpan
public String getRecordTimeSpan()
The time span for the records in the report to be scheduled.Allowed period strings - “H”,“D”,“M”,“Y” Each of the above fields potentially introduce constraints. A workRequest is created only when period-value satisfies all the constraints. Constraints introduced: 1. period = H (The allowed range for period-value is [1, 23]) 2. period = D (The allowed range for period-value is [1, 30]) 3. period = M (The allowed range for period-value is [1, 11]) 4. period = Y (The minimum period-value is 1) - Returns:
- the value
-
getComplianceStandards
public List<String> getComplianceStandards()
The list of the data protection regulations/standards used in the report that will help demonstrate compliance.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Details about the current state of the report definition in Data Safe.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
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"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
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”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-