Class SecurityAssessmentComparisonPerTarget


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class SecurityAssessmentComparisonPerTarget
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The results of the comparison between two security assessment resources.
    Note: Objects should always be created or deserialized using the SecurityAssessmentComparisonPerTarget.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 SecurityAssessmentComparisonPerTarget.Builder, which maintain a set of all explicitly set fields called SecurityAssessmentComparisonPerTarget.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

      • SecurityAssessmentComparisonPerTarget

        @Deprecated
        @ConstructorProperties({"baselineTargetId","currentTargetId","auditing","authorizationControl","dataEncryption","dbConfiguration","fineGrainedAccessControl","privilegesAndRoles","userAccounts"})
        public SecurityAssessmentComparisonPerTarget​(String baselineTargetId,
                                                     String currentTargetId,
                                                     List<Diffs> auditing,
                                                     List<Diffs> authorizationControl,
                                                     List<Diffs> dataEncryption,
                                                     List<Diffs> dbConfiguration,
                                                     List<Diffs> fineGrainedAccessControl,
                                                     List<Diffs> privilegesAndRoles,
                                                     List<Diffs> userAccounts)
        Deprecated.
    • Method Detail

      • getBaselineTargetId

        public String getBaselineTargetId()
        The OCID of the target that is used as a baseline in this comparison.
        Returns:
        the value
      • getCurrentTargetId

        public String getCurrentTargetId()
        The OCID of the target to be compared against the baseline target.
        Returns:
        the value
      • getAuditing

        public List<Diffs> getAuditing()
        A comparison between findings belonging to Auditing category.
        Returns:
        the value
      • getAuthorizationControl

        public List<Diffs> getAuthorizationControl()
        A comparison between findings belonging to Authorization Control category.
        Returns:
        the value
      • getDataEncryption

        public List<Diffs> getDataEncryption()
        Comparison between findings belonging to Data Encryption category.
        Returns:
        the value
      • getDbConfiguration

        public List<Diffs> getDbConfiguration()
        Comparison between findings belonging to Database Configuration category.
        Returns:
        the value
      • getFineGrainedAccessControl

        public List<Diffs> getFineGrainedAccessControl()
        Comparison between findings belonging to Fine-Grained Access Control category.
        Returns:
        the value
      • getPrivilegesAndRoles

        public List<Diffs> getPrivilegesAndRoles()
        Comparison between findings belonging to Privileges and Roles category.
        Returns:
        the value
      • getUserAccounts

        public List<Diffs> getUserAccounts()
        Comparison between findings belonging to User Accounts category.
        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