Class TemplateAnalyticsDimensions


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class TemplateAnalyticsDimensions
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The scope of analytics data.
    Note: Objects should always be created or deserialized using the TemplateAnalyticsDimensions.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 the TemplateAnalyticsDimensions.Builder, which maintain a set of all explicitly set fields called TemplateAnalyticsDimensions.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Constructor Detail

      • TemplateAnalyticsDimensions

        @Deprecated
        @ConstructorProperties({"templateAssessmentId","totalChecks","templateBaselineAssessmentId","targetId","targetDatabaseGroupId","isGroup","isCompared","timeLastCompared","isCompliant","totalChecksFailed","totalTargets","totalNonCompliantTargets"})
        public TemplateAnalyticsDimensions​(String templateAssessmentId,
                                           Integer totalChecks,
                                           String templateBaselineAssessmentId,
                                           String targetId,
                                           String targetDatabaseGroupId,
                                           Boolean isGroup,
                                           Boolean isCompared,
                                           Date timeLastCompared,
                                           Boolean isCompliant,
                                           Integer totalChecksFailed,
                                           Integer totalTargets,
                                           Integer totalNonCompliantTargets)
        Deprecated.
    • Method Detail

      • getTemplateAssessmentId

        public String getTemplateAssessmentId()
        The OCID of the security assessment of type TEMPLATE.
        Returns:
        the value
      • getTotalChecks

        public Integer getTotalChecks()
        The number of checks inside the template assessment.
        Returns:
        the value
      • getTemplateBaselineAssessmentId

        public String getTemplateBaselineAssessmentId()
        The OCID of the security assessment of type TEMPLATE_BASELINE.
        Returns:
        the value
      • getTargetId

        public String getTargetId()
        The OCID of the target database.

        This field will be in the response if the template was applied on an individual target.

        Returns:
        the value
      • getTargetDatabaseGroupId

        public String getTargetDatabaseGroupId()
        The OCID of the target database group that the group assessment is created for.

        This field will be in the response if the template was applied on a target group.

        Returns:
        the value
      • getIsGroup

        public Boolean getIsGroup()
        Indicates whether or not the template security assessment is applied to a target group.

        If the value is false, it means the template security assessment is applied to a individual target.

        Returns:
        the value
      • getIsCompared

        public Boolean getIsCompared()
        Indicates whether or not the comparison between the latest assessment and the template baseline assessment is done.

        If the value is false, it means the comparison is not done yet.

        Returns:
        the value
      • getTimeLastCompared

        public Date getTimeLastCompared()
        The date and time when the comparison was made upon the template baseline.

        Conforms to the format defined by RFC3339.

        Returns:
        the value
      • getIsCompliant

        public Boolean getIsCompliant()
        Indicates whether or not the latest assessment is compliant with the template baseline assessment.

        If the value is false, it means there is drift in the comparison report and the totalChecksFailed field will have a non-zero value.

        Returns:
        the value
      • getTotalChecksFailed

        public Integer getTotalChecksFailed()
        Indicates how many checks in the template have drifts in the comparison report.

        This field is only present if isCompliant is false.

        Returns:
        the value
      • getTotalTargets

        public Integer getTotalTargets()
        The number of the target(s) inside the target group for which the template baseline assessment was created for.

        If the isGroup field is false, the value will be 1, representing the single target.

        Returns:
        the value
      • getTotalNonCompliantTargets

        public Integer getTotalNonCompliantTargets()
        The number of the target(s) that have drifts in the comparison report.

        This field is only present if isCompared is true.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel