Package com.oracle.bmc.datasafe.model
Class CryptoAssessmentFindingTargetSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.CryptoAssessmentFindingTargetSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CryptoAssessmentFindingTargetSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelTarget-level occurrence details for a crypto finding.
Note: Objects should always be created or deserialized using theCryptoAssessmentFindingTargetSummary.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 theCryptoAssessmentFindingTargetSummary.Builder, which maintain a set of all explicitly set fields calledCryptoAssessmentFindingTargetSummary.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 classCryptoAssessmentFindingTargetSummary.Builderstatic classCryptoAssessmentFindingTargetSummary.SeverityText severity derived from priority using the static mapping 1=CRITICAL, 2=HIGH, 3=MEDIUM, 4=LOW.
-
Constructor Summary
Constructors Constructor Description CryptoAssessmentFindingTargetSummary(String targetId, String findingKey, Integer priority, CryptoAssessmentFindingTargetSummary.Severity severity, String observedValue, String databaseVersion, Boolean isQuantumReadinessCheck, String assessmentId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CryptoAssessmentFindingTargetSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAssessmentId()The crypto assessment OCID associated with this finding occurrence.StringgetDatabaseVersion()Database version of the affected target.StringgetFindingKey()Unique key of the finding affecting this target.BooleangetIsQuantumReadinessCheck()Indicates whether this finding is part of quantum-readiness checks.StringgetObservedValue()The observed value for the selected finding on this target.IntegergetPriority()Numeric priority of the finding.CryptoAssessmentFindingTargetSummary.SeveritygetSeverity()Text severity derived from priority using the static mapping 1=CRITICAL, 2=HIGH, 3=MEDIUM, 4=LOW.StringgetTargetId()The OCID of the affected target.inthashCode()CryptoAssessmentFindingTargetSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CryptoAssessmentFindingTargetSummary
@Deprecated @ConstructorProperties({"targetId","findingKey","priority","severity","observedValue","databaseVersion","isQuantumReadinessCheck","assessmentId"}) public CryptoAssessmentFindingTargetSummary(String targetId, String findingKey, Integer priority, CryptoAssessmentFindingTargetSummary.Severity severity, String observedValue, String databaseVersion, Boolean isQuantumReadinessCheck, String assessmentId)
Deprecated.
-
-
Method Detail
-
builder
public static CryptoAssessmentFindingTargetSummary.Builder builder()
Create a new builder.
-
toBuilder
public CryptoAssessmentFindingTargetSummary.Builder toBuilder()
-
getTargetId
public String getTargetId()
The OCID of the affected target.- Returns:
- the value
-
getFindingKey
public String getFindingKey()
Unique key of the finding affecting this target.- Returns:
- the value
-
getPriority
public Integer getPriority()
Numeric priority of the finding.1 is CRITICAL, 2 is HIGH, 3 is MEDIUM, and 4 is LOW.
- Returns:
- the value
-
getSeverity
public CryptoAssessmentFindingTargetSummary.Severity getSeverity()
Text severity derived from priority using the static mapping 1=CRITICAL, 2=HIGH, 3=MEDIUM, 4=LOW.- Returns:
- the value
-
getObservedValue
public String getObservedValue()
The observed value for the selected finding on this target.- Returns:
- the value
-
getDatabaseVersion
public String getDatabaseVersion()
Database version of the affected target.- Returns:
- the value
-
getIsQuantumReadinessCheck
public Boolean getIsQuantumReadinessCheck()
Indicates whether this finding is part of quantum-readiness checks.- Returns:
- the value
-
getAssessmentId
public String getAssessmentId()
The crypto assessment OCID associated with this finding occurrence.- 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
-
-