@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SecurityAssessmentComparison extends Object
Provides a list of the differences in a comparison of the security assessment with the baseline value.
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(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.
|
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) |
Set<String> |
get__explicitlySet__() |
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() |
@ConstructorProperties(value={"id","baselineId","lifecycleState","timeCreated","targets"}) @Deprecated 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.
Copyright © 2016–2022. All rights reserved.