Class CryptoAssessmentSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.CryptoAssessmentSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CryptoAssessmentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary of a crypto assessment.
Note: Objects should always be created or deserialized using theCryptoAssessmentSummary.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 theCryptoAssessmentSummary.Builder, which maintain a set of all explicitly set fields calledCryptoAssessmentSummary.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 classCryptoAssessmentSummary.Builder
-
Constructor Summary
Constructors Constructor Description CryptoAssessmentSummary(String id, String displayName, String description, String compartmentId, Date timeCreated, Date timeUpdated, Date timeLastAssessed, CryptoAssessment.LifecycleState lifecycleState, String lifecycleDetails, CryptoAssessment.Type type, CryptoAssessment.TriggeredBy triggeredBy, CryptoAssessment.TargetType targetType, String targetId, String targetDatabaseGroupId, String databaseVersion, CryptoPostureCategory postureCategory, String schedule, Integer issueCount, Integer targetsWithIssuesCount, Boolean isAssessmentScheduled, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CryptoAssessmentSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment that contains the crypto assessment.StringgetDatabaseVersion()The version of the assessed target database.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()The description of the crypto assessment.StringgetDisplayName()The display name of the crypto assessment.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the crypto assessment.BooleangetIsAssessmentScheduled()Indicates whether scheduled execution is active for this crypto assessment.IntegergetIssueCount()Number of crypto issues detected in this assessment.StringgetLifecycleDetails()Details about the current lifecycle state of the crypto assessment.CryptoAssessment.LifecycleStategetLifecycleState()The current lifecycle state of the crypto assessment.CryptoPostureCategorygetPostureCategory()Overall posture category for the crypto assessment.StringgetSchedule()The schedule used to run the crypto assessment periodically.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.StringgetTargetDatabaseGroupId()The OCID of the target database group.StringgetTargetId()The OCID of the target database.IntegergetTargetsWithIssuesCount()Number of assessed targets with one or more crypto issues.CryptoAssessment.TargetTypegetTargetType()Indicates whether this summary row is for a target database or a target database group.DategetTimeCreated()The date and time the crypto assessment was created, in RFC3339 format.DategetTimeLastAssessed()The date and time the crypto posture was last assessed, in RFC3339 format.DategetTimeUpdated()The date and time the crypto assessment was last updated, in RFC3339 format.CryptoAssessment.TriggeredBygetTriggeredBy()The actor that created the assessment.CryptoAssessment.TypegetType()The type of this crypto assessment.inthashCode()CryptoAssessmentSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CryptoAssessmentSummary
@Deprecated @ConstructorProperties({"id","displayName","description","compartmentId","timeCreated","timeUpdated","timeLastAssessed","lifecycleState","lifecycleDetails","type","triggeredBy","targetType","targetId","targetDatabaseGroupId","databaseVersion","postureCategory","schedule","issueCount","targetsWithIssuesCount","isAssessmentScheduled","freeformTags","definedTags","systemTags"}) public CryptoAssessmentSummary(String id, String displayName, String description, String compartmentId, Date timeCreated, Date timeUpdated, Date timeLastAssessed, CryptoAssessment.LifecycleState lifecycleState, String lifecycleDetails, CryptoAssessment.Type type, CryptoAssessment.TriggeredBy triggeredBy, CryptoAssessment.TargetType targetType, String targetId, String targetDatabaseGroupId, String databaseVersion, CryptoPostureCategory postureCategory, String schedule, Integer issueCount, Integer targetsWithIssuesCount, Boolean isAssessmentScheduled, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static CryptoAssessmentSummary.Builder builder()
Create a new builder.
-
toBuilder
public CryptoAssessmentSummary.Builder toBuilder()
-
getId
public String getId()
The OCID of the crypto assessment.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of the crypto assessment.- Returns:
- the value
-
getDescription
public String getDescription()
The description of the crypto assessment.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the crypto assessment.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the crypto assessment was created, in RFC3339 format.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the crypto assessment was last updated, in RFC3339 format.- Returns:
- the value
-
getTimeLastAssessed
public Date getTimeLastAssessed()
The date and time the crypto posture was last assessed, in RFC3339 format.- Returns:
- the value
-
getLifecycleState
public CryptoAssessment.LifecycleState getLifecycleState()
The current lifecycle state of the crypto assessment.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Details about the current lifecycle state of the crypto assessment.- Returns:
- the value
-
getType
public CryptoAssessment.Type getType()
The type of this crypto assessment.- Returns:
- the value
-
getTriggeredBy
public CryptoAssessment.TriggeredBy getTriggeredBy()
The actor that created the assessment.- Returns:
- the value
-
getTargetType
public CryptoAssessment.TargetType getTargetType()
Indicates whether this summary row is for a target database or a target database group.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database.This is returned when targetType is TARGET_DATABASE.
- Returns:
- the value
-
getTargetDatabaseGroupId
public String getTargetDatabaseGroupId()
The OCID of the target database group.This is returned when targetType is TARGET_DATABASE_GROUP.
- Returns:
- the value
-
getDatabaseVersion
public String getDatabaseVersion()
The version of the assessed target database.- Returns:
- the value
-
getPostureCategory
public CryptoPostureCategory getPostureCategory()
Overall posture category for the crypto assessment.- Returns:
- the value
-
getSchedule
public String getSchedule()
The schedule used to run the crypto assessment periodically.The schedule uses the format:
; For v1, the version-specific schedule format is:
Specify either day-of-week for weekly schedules or day-of-month for monthly schedules. Do not specify both. For monthly schedules, day-of-month must be between 1 and 28. If the service generates a default monthly schedule for an assessment created on day 29, 30, or 31 of a month, it uses day 28.
- Returns:
- the value
-
getIssueCount
public Integer getIssueCount()
Number of crypto issues detected in this assessment.- Returns:
- the value
-
getTargetsWithIssuesCount
public Integer getTargetsWithIssuesCount()
Number of assessed targets with one or more crypto issues.For a target database assessment, this value is 1 when the target has issues and 0 otherwise. For a target database group assessment, this value is the number of targets in the group that have issues.
- Returns:
- the value
-
getIsAssessmentScheduled
public Boolean getIsAssessmentScheduled()
Indicates whether scheduled execution is active for this crypto assessment.When false, the schedule value is retained but scheduled execution is paused.
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “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
-
-