Class CreateReportDefinitionDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.CreateReportDefinitionDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CreateReportDefinitionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Description of a new report definition.
Note: Objects should always be created or deserialized using theCreateReportDefinitionDetails.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 theCreateReportDefinitionDetails.Builder
, which maintain a set of all explicitly set fields calledCreateReportDefinitionDetails.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 class
CreateReportDefinitionDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateReportDefinitionDetails(String compartmentId, String displayName, String parentId, String description, List<Column> columnInfo, List<ColumnFilter> columnFilters, List<ColumnSorting> columnSortings, List<Summary> summary, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateReportDefinitionDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<ColumnFilter>
getColumnFilters()
An array of column filter 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.String
getCompartmentId()
The OCID of the compartment containing the report definition.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
The description of the report definition.String
getDisplayName()
Specifies the name of the report definition.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getParentId()
The OCID of the parent report definition.List<Summary>
getSummary()
An array of report summary objects in the order (left to right) displayed in the report.int
hashCode()
CreateReportDefinitionDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateReportDefinitionDetails
@Deprecated @ConstructorProperties({"compartmentId","displayName","parentId","description","columnInfo","columnFilters","columnSortings","summary","freeformTags","definedTags"}) public CreateReportDefinitionDetails(String compartmentId, String displayName, String parentId, String description, List<Column> columnInfo, List<ColumnFilter> columnFilters, List<ColumnSorting> columnSortings, List<Summary> summary, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateReportDefinitionDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateReportDefinitionDetails.Builder toBuilder()
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment containing the report definition.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Specifies the name of the report definition.- Returns:
- the value
-
getParentId
public String getParentId()
The OCID of the parent report definition.- Returns:
- the value
-
getDescription
public String getDescription()
The description of the report definition.- 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 column filter objects.A column Filter 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
-
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
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-