Package com.oracle.bmc.datasafe.model
Class FindingsChangeAuditLogSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.FindingsChangeAuditLogSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class FindingsChangeAuditLogSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of audit log of risk updates of findings of specified security assessment.
Note: Objects should always be created or deserialized using theFindingsChangeAuditLogSummary.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 theFindingsChangeAuditLogSummary.Builder, which maintain a set of all explicitly set fields calledFindingsChangeAuditLogSummary.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 classFindingsChangeAuditLogSummary.Builder
-
Constructor Summary
Constructors Constructor Description FindingsChangeAuditLogSummary(String key, String findingKey, String findingTitle, String assessmentId, String targetId, Date timeUpdated, Finding.Severity severity, Finding.Severity oracleDefinedSeverity, Boolean isRiskDeferred, Finding.Severity previousSeverity, String justification, Date timeValidUntil, String modifiedBy)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindingsChangeAuditLogSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAssessmentId()The OCID of the latest security assessment.StringgetFindingKey()The unique key that identifies the finding.StringgetFindingTitle()The short title for the finding whose risk is being modified.BooleangetIsRiskDeferred()Determines if the user has deferred the risk level of this finding when he is ok with it and does not plan to do anything about it.StringgetJustification()The justification given by the user for accepting or modifying the risk level.StringgetKey()The unique key that identifies the finding risk change.StringgetModifiedBy()The user who initiated change of risk level of the findingFinding.SeveritygetOracleDefinedSeverity()The severity of the finding as determined by security assessment by Oracle.Finding.SeveritygetPreviousSeverity()If the risk level is changed more than once, the previous modified value.Finding.SeveritygetSeverity()The original severity / risk level of the finding as determined by security assessment.StringgetTargetId()The OCID of the target database.DategetTimeUpdated()The date and time the risk level of finding was last updated, in the format defined by RFC3339.DategetTimeValidUntil()The date and time, in the format defined by RFC3339, the risk level change as updated by user is valid until.inthashCode()FindingsChangeAuditLogSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
FindingsChangeAuditLogSummary
@Deprecated @ConstructorProperties({"key","findingKey","findingTitle","assessmentId","targetId","timeUpdated","severity","oracleDefinedSeverity","isRiskDeferred","previousSeverity","justification","timeValidUntil","modifiedBy"}) public FindingsChangeAuditLogSummary(String key, String findingKey, String findingTitle, String assessmentId, String targetId, Date timeUpdated, Finding.Severity severity, Finding.Severity oracleDefinedSeverity, Boolean isRiskDeferred, Finding.Severity previousSeverity, String justification, Date timeValidUntil, String modifiedBy)
Deprecated.
-
-
Method Detail
-
builder
public static FindingsChangeAuditLogSummary.Builder builder()
Create a new builder.
-
toBuilder
public FindingsChangeAuditLogSummary.Builder toBuilder()
-
getKey
public String getKey()
The unique key that identifies the finding risk change.- Returns:
- the value
-
getFindingKey
public String getFindingKey()
The unique key that identifies the finding.- Returns:
- the value
-
getFindingTitle
public String getFindingTitle()
The short title for the finding whose risk is being modified.- Returns:
- the value
-
getAssessmentId
public String getAssessmentId()
The OCID of the latest security assessment.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the risk level of finding was last updated, in the format defined by RFC3339.- Returns:
- the value
-
getSeverity
public Finding.Severity getSeverity()
The original severity / risk level of the finding as determined by security assessment.- Returns:
- the value
-
getOracleDefinedSeverity
public Finding.Severity getOracleDefinedSeverity()
The severity of the finding as determined by security assessment by Oracle.- Returns:
- the value
-
getIsRiskDeferred
public Boolean getIsRiskDeferred()
Determines if the user has deferred the risk level of this finding when he is ok with it and does not plan to do anything about it.- Returns:
- the value
-
getPreviousSeverity
public Finding.Severity getPreviousSeverity()
If the risk level is changed more than once, the previous modified value.- Returns:
- the value
-
getJustification
public String getJustification()
The justification given by the user for accepting or modifying the risk level.- Returns:
- the value
-
getTimeValidUntil
public Date getTimeValidUntil()
The date and time, in the format defined by RFC3339, the risk level change as updated by user is valid until.After this date passes, the risk level will be that of what is determined by the latest security assessment.
- Returns:
- the value
-
getModifiedBy
public String getModifiedBy()
The user who initiated change of risk level of the finding- 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
-
-