Package com.oracle.bmc.datasafe.model
Class TemplateAnalyticsDimensions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.TemplateAnalyticsDimensions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class TemplateAnalyticsDimensions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe scope of analytics data.
Note: Objects should always be created or deserialized using theTemplateAnalyticsDimensions.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 theTemplateAnalyticsDimensions.Builder, which maintain a set of all explicitly set fields calledTemplateAnalyticsDimensions.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 classTemplateAnalyticsDimensions.Builder
-
Constructor Summary
Constructors Constructor Description TemplateAnalyticsDimensions(String templateAssessmentId, Integer totalChecks, String templateBaselineAssessmentId, String targetId, String targetDatabaseGroupId, Boolean isGroup, Boolean isCompared, Date timeLastCompared, Boolean isCompliant, Integer totalChecksFailed, Integer totalTargets, Integer totalNonCompliantTargets)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateAnalyticsDimensions.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsCompared()Indicates whether or not the comparison between the latest assessment and the template baseline assessment is done.BooleangetIsCompliant()Indicates whether or not the latest assessment is compliant with the template baseline assessment.BooleangetIsGroup()Indicates whether or not the template security assessment is applied to a target group.StringgetTargetDatabaseGroupId()The OCID of the target database group that the group assessment is created for.StringgetTargetId()The OCID of the target database.StringgetTemplateAssessmentId()The OCID of the security assessment of type TEMPLATE.StringgetTemplateBaselineAssessmentId()The OCID of the security assessment of type TEMPLATE_BASELINE.DategetTimeLastCompared()The date and time when the comparison was made upon the template baseline.IntegergetTotalChecks()The number of checks inside the template assessment.IntegergetTotalChecksFailed()Indicates how many checks in the template have drifts in the comparison report.IntegergetTotalNonCompliantTargets()The number of the target(s) that have drifts in the comparison report.IntegergetTotalTargets()The number of the target(s) inside the target group for which the template baseline assessment was created for.inthashCode()TemplateAnalyticsDimensions.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
TemplateAnalyticsDimensions
@Deprecated @ConstructorProperties({"templateAssessmentId","totalChecks","templateBaselineAssessmentId","targetId","targetDatabaseGroupId","isGroup","isCompared","timeLastCompared","isCompliant","totalChecksFailed","totalTargets","totalNonCompliantTargets"}) public TemplateAnalyticsDimensions(String templateAssessmentId, Integer totalChecks, String templateBaselineAssessmentId, String targetId, String targetDatabaseGroupId, Boolean isGroup, Boolean isCompared, Date timeLastCompared, Boolean isCompliant, Integer totalChecksFailed, Integer totalTargets, Integer totalNonCompliantTargets)
Deprecated.
-
-
Method Detail
-
builder
public static TemplateAnalyticsDimensions.Builder builder()
Create a new builder.
-
toBuilder
public TemplateAnalyticsDimensions.Builder toBuilder()
-
getTemplateAssessmentId
public String getTemplateAssessmentId()
The OCID of the security assessment of type TEMPLATE.- Returns:
- the value
-
getTotalChecks
public Integer getTotalChecks()
The number of checks inside the template assessment.- Returns:
- the value
-
getTemplateBaselineAssessmentId
public String getTemplateBaselineAssessmentId()
The OCID of the security assessment of type TEMPLATE_BASELINE.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database.This field will be in the response if the template was applied on an individual target.
- Returns:
- the value
-
getTargetDatabaseGroupId
public String getTargetDatabaseGroupId()
The OCID of the target database group that the group assessment is created for.This field will be in the response if the template was applied on a target group.
- Returns:
- the value
-
getIsGroup
public Boolean getIsGroup()
Indicates whether or not the template security assessment is applied to a target group.If the value is false, it means the template security assessment is applied to a individual target.
- Returns:
- the value
-
getIsCompared
public Boolean getIsCompared()
Indicates whether or not the comparison between the latest assessment and the template baseline assessment is done.If the value is false, it means the comparison is not done yet.
- Returns:
- the value
-
getTimeLastCompared
public Date getTimeLastCompared()
The date and time when the comparison was made upon the template baseline.Conforms to the format defined by RFC3339.
- Returns:
- the value
-
getIsCompliant
public Boolean getIsCompliant()
Indicates whether or not the latest assessment is compliant with the template baseline assessment.If the value is false, it means there is drift in the comparison report and the totalChecksFailed field will have a non-zero value.
- Returns:
- the value
-
getTotalChecksFailed
public Integer getTotalChecksFailed()
Indicates how many checks in the template have drifts in the comparison report.This field is only present if isCompliant is false.
- Returns:
- the value
-
getTotalTargets
public Integer getTotalTargets()
The number of the target(s) inside the target group for which the template baseline assessment was created for.If the isGroup field is false, the value will be 1, representing the single target.
- Returns:
- the value
-
getTotalNonCompliantTargets
public Integer getTotalNonCompliantTargets()
The number of the target(s) that have drifts in the comparison report.This field is only present if isCompared is true.
- 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
-
-