Class ReportDefinitionSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.ReportDefinitionSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class ReportDefinitionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of report definition.
Note: Objects should always be created or deserialized using theReportDefinitionSummary.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 theReportDefinitionSummary.Builder
, which maintain a set of all explicitly set fields calledReportDefinitionSummary.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
ReportDefinitionSummary.Builder
static class
ReportDefinitionSummary.Category
Specifies the name of the category that this report belongs to.
-
Constructor Summary
Constructors Constructor Description ReportDefinitionSummary(String displayName, String id, ReportDefinitionSummary.Category category, String description, Boolean isSeeded, Integer displayOrder, Date timeCreated, Date timeUpdated, String compartmentId, ReportDefinitionDataSource dataSource, ReportDefinitionLifecycleState lifecycleState, String schedule, List<String> complianceStandards, 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 ReportDefinitionSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
ReportDefinitionSummary.Category
getCategory()
Specifies the name of the category that this report belongs to.String
getCompartmentId()
The OCID of the compartment containing the report definition.List<String>
getComplianceStandards()
The list of data protection regulations/standards used in the report that will help demonstrate compliance.ReportDefinitionDataSource
getDataSource()
Specifies the name of a resource that provides data for the report.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
A description of the report definition.String
getDisplayName()
Name of the report definition.Integer
getDisplayOrder()
Specifies how the report definitions are ordered in the display.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getId()
The OCID of the report definition.Boolean
getIsSeeded()
Signifies whether the definition is seeded or user defined.ReportDefinitionLifecycleState
getLifecycleState()
The current state of the audit report.String
getSchedule()
The schedule to generate the report periodically in the specified format:; Date
getTimeCreated()
Specifies the time at which the report definition was created.Date
getTimeUpdated()
The date and time of the report definition update in Data Safe.int
hashCode()
ReportDefinitionSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ReportDefinitionSummary
@Deprecated @ConstructorProperties({"displayName","id","category","description","isSeeded","displayOrder","timeCreated","timeUpdated","compartmentId","dataSource","lifecycleState","schedule","complianceStandards","freeformTags","definedTags"}) public ReportDefinitionSummary(String displayName, String id, ReportDefinitionSummary.Category category, String description, Boolean isSeeded, Integer displayOrder, Date timeCreated, Date timeUpdated, String compartmentId, ReportDefinitionDataSource dataSource, ReportDefinitionLifecycleState lifecycleState, String schedule, List<String> complianceStandards, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static ReportDefinitionSummary.Builder builder()
Create a new builder.
-
toBuilder
public ReportDefinitionSummary.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
-
getCategory
public ReportDefinitionSummary.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
-
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 time at which the report definition was created.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time of the report definition update in Data Safe.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment containing 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
-
getLifecycleState
public ReportDefinitionLifecycleState getLifecycleState()
The current state of the audit 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 work request 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
-
getComplianceStandards
public List<String> getComplianceStandards()
The list of data protection regulations/standards used in the report that will help demonstrate compliance.- 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
-
-