Package com.oracle.bmc.datasafe.model
Class SecurityAssessmentComparisonPerTarget
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.SecurityAssessmentComparisonPerTarget
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SecurityAssessmentComparisonPerTarget extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe results of the comparison between two security assessment resources.
Note: Objects should always be created or deserialized using theSecurityAssessmentComparisonPerTarget.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 theSecurityAssessmentComparisonPerTarget.Builder, which maintain a set of all explicitly set fields calledSecurityAssessmentComparisonPerTarget.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 classSecurityAssessmentComparisonPerTarget.Builder
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityAssessmentComparisonPerTarget.Builderbuilder()Create a new builder.booleanequals(Object o)List<Diffs>getAuditing()A comparison between findings belonging to Auditing category.List<Diffs>getAuthorizationControl()A comparison between findings belonging to Authorization Control category.StringgetBaselineTargetId()The OCID of the target that is used as a baseline in this comparison.StringgetCurrentTargetId()The OCID of the target to be compared against the baseline target.List<Diffs>getDataEncryption()Comparison between findings belonging to Data Encryption category.List<Diffs>getDbConfiguration()Comparison between findings belonging to Database Configuration category.List<Diffs>getFineGrainedAccessControl()Comparison between findings belonging to Fine-Grained Access Control category.List<Diffs>getPrivilegesAndRoles()Comparison between findings belonging to Privileges and Roles category.List<Diffs>getUserAccounts()Comparison between findings belonging to User Accounts category.inthashCode()SecurityAssessmentComparisonPerTarget.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
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
-
builder
public static SecurityAssessmentComparisonPerTarget.Builder builder()
Create a new builder.
-
toBuilder
public SecurityAssessmentComparisonPerTarget.Builder toBuilder()
-
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:
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
-
-