@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SecurityAssessmentComparison extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Provides a list of the differences in a comparison of the security assessment with the baseline
value.
Note: Objects should always be created or deserialized using the SecurityAssessmentComparison.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 SecurityAssessmentComparison.Builder
, which maintain a
set of all explicitly set fields called SecurityAssessmentComparison.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
).
Modifier and Type | Class and Description |
---|---|
static class |
SecurityAssessmentComparison.Builder |
static class |
SecurityAssessmentComparison.LifecycleState
The current state of the security assessment comparison.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SecurityAssessmentComparison(String id,
String baselineId,
SecurityAssessmentComparison.LifecycleState lifecycleState,
Date timeCreated,
List<SecurityAssessmentComparisonPerTarget> targets)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SecurityAssessmentComparison.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBaselineId()
The OCID of the security assessment that is set as a baseline.
|
String |
getId()
The OCID of the security assessment that is being compared with a baseline security
assessment.
|
SecurityAssessmentComparison.LifecycleState |
getLifecycleState()
The current state of the security assessment comparison.
|
List<SecurityAssessmentComparisonPerTarget> |
getTargets()
A target-based comparison between two security assessments.
|
Date |
getTimeCreated()
The date and time when the security assessment comparison was created.
|
int |
hashCode() |
SecurityAssessmentComparison.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","baselineId","lifecycleState","timeCreated","targets"}) public SecurityAssessmentComparison(String id, String baselineId, SecurityAssessmentComparison.LifecycleState lifecycleState, Date timeCreated, List<SecurityAssessmentComparisonPerTarget> targets)
public static SecurityAssessmentComparison.Builder builder()
Create a new builder.
public SecurityAssessmentComparison.Builder toBuilder()
public String getId()
The OCID of the security assessment that is being compared with a baseline security assessment.
public String getBaselineId()
The OCID of the security assessment that is set as a baseline.
public SecurityAssessmentComparison.LifecycleState getLifecycleState()
The current state of the security assessment comparison.
public Date getTimeCreated()
The date and time when the security assessment comparison was created. Conforms to the format defined by RFC3339.
public List<SecurityAssessmentComparisonPerTarget> getTargets()
A target-based comparison between two security assessments.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.