Class CryptoAssessmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.CryptoAssessmentSummary.Builder
-
- Enclosing class:
- CryptoAssessmentSummary
public static class CryptoAssessmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAssessmentSummarybuild()CryptoAssessmentSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the crypto assessment.CryptoAssessmentSummary.Buildercopy(CryptoAssessmentSummary model)CryptoAssessmentSummary.BuilderdatabaseVersion(String databaseVersion)The version of the assessed target database.CryptoAssessmentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CryptoAssessmentSummary.Builderdescription(String description)The description of the crypto assessment.CryptoAssessmentSummary.BuilderdisplayName(String displayName)The display name of the crypto assessment.CryptoAssessmentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CryptoAssessmentSummary.Builderid(String id)The OCID of the crypto assessment.CryptoAssessmentSummary.BuilderisAssessmentScheduled(Boolean isAssessmentScheduled)Indicates whether scheduled execution is active for this crypto assessment.CryptoAssessmentSummary.BuilderissueCount(Integer issueCount)Number of crypto issues detected in this assessment.CryptoAssessmentSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current lifecycle state of the crypto assessment.CryptoAssessmentSummary.BuilderlifecycleState(CryptoAssessment.LifecycleState lifecycleState)The current lifecycle state of the crypto assessment.CryptoAssessmentSummary.BuilderpostureCategory(CryptoPostureCategory postureCategory)Overall posture category for the crypto assessment.CryptoAssessmentSummary.Builderschedule(String schedule)The schedule used to run the crypto assessment periodically.CryptoAssessmentSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CryptoAssessmentSummary.BuildertargetDatabaseGroupId(String targetDatabaseGroupId)The OCID of the target database group.CryptoAssessmentSummary.BuildertargetId(String targetId)The OCID of the target database.CryptoAssessmentSummary.BuildertargetsWithIssuesCount(Integer targetsWithIssuesCount)Number of assessed targets with one or more crypto issues.CryptoAssessmentSummary.BuildertargetType(CryptoAssessment.TargetType targetType)Indicates whether this summary row is for a target database or a target database group.CryptoAssessmentSummary.BuildertimeCreated(Date timeCreated)The date and time the crypto assessment was created, in RFC3339 format.CryptoAssessmentSummary.BuildertimeLastAssessed(Date timeLastAssessed)The date and time the crypto posture was last assessed, in RFC3339 format.CryptoAssessmentSummary.BuildertimeUpdated(Date timeUpdated)The date and time the crypto assessment was last updated, in RFC3339 format.CryptoAssessmentSummary.BuildertriggeredBy(CryptoAssessment.TriggeredBy triggeredBy)The actor that created the assessment.CryptoAssessmentSummary.Buildertype(CryptoAssessment.Type type)The type of this crypto assessment.
-
-
-
Method Detail
-
id
public CryptoAssessmentSummary.Builder id(String id)
The OCID of the crypto assessment.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public CryptoAssessmentSummary.Builder displayName(String displayName)
The display name of the crypto assessment.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CryptoAssessmentSummary.Builder description(String description)
The description of the crypto assessment.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public CryptoAssessmentSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the crypto assessment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public CryptoAssessmentSummary.Builder timeCreated(Date timeCreated)
The date and time the crypto assessment was created, in RFC3339 format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CryptoAssessmentSummary.Builder timeUpdated(Date timeUpdated)
The date and time the crypto assessment was last updated, in RFC3339 format.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeLastAssessed
public CryptoAssessmentSummary.Builder timeLastAssessed(Date timeLastAssessed)
The date and time the crypto posture was last assessed, in RFC3339 format.- Parameters:
timeLastAssessed- the value to set- Returns:
- this builder
-
lifecycleState
public CryptoAssessmentSummary.Builder lifecycleState(CryptoAssessment.LifecycleState lifecycleState)
The current lifecycle state of the crypto assessment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CryptoAssessmentSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current lifecycle state of the crypto assessment.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
type
public CryptoAssessmentSummary.Builder type(CryptoAssessment.Type type)
The type of this crypto assessment.- Parameters:
type- the value to set- Returns:
- this builder
-
triggeredBy
public CryptoAssessmentSummary.Builder triggeredBy(CryptoAssessment.TriggeredBy triggeredBy)
The actor that created the assessment.- Parameters:
triggeredBy- the value to set- Returns:
- this builder
-
targetType
public CryptoAssessmentSummary.Builder targetType(CryptoAssessment.TargetType targetType)
Indicates whether this summary row is for a target database or a target database group.- Parameters:
targetType- the value to set- Returns:
- this builder
-
targetId
public CryptoAssessmentSummary.Builder targetId(String targetId)
The OCID of the target database.This is returned when targetType is TARGET_DATABASE.
- Parameters:
targetId- the value to set- Returns:
- this builder
-
targetDatabaseGroupId
public CryptoAssessmentSummary.Builder targetDatabaseGroupId(String targetDatabaseGroupId)
The OCID of the target database group.This is returned when targetType is TARGET_DATABASE_GROUP.
- Parameters:
targetDatabaseGroupId- the value to set- Returns:
- this builder
-
databaseVersion
public CryptoAssessmentSummary.Builder databaseVersion(String databaseVersion)
The version of the assessed target database.- Parameters:
databaseVersion- the value to set- Returns:
- this builder
-
postureCategory
public CryptoAssessmentSummary.Builder postureCategory(CryptoPostureCategory postureCategory)
Overall posture category for the crypto assessment.- Parameters:
postureCategory- the value to set- Returns:
- this builder
-
schedule
public CryptoAssessmentSummary.Builder schedule(String schedule)
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.
- Parameters:
schedule- the value to set- Returns:
- this builder
-
issueCount
public CryptoAssessmentSummary.Builder issueCount(Integer issueCount)
Number of crypto issues detected in this assessment.- Parameters:
issueCount- the value to set- Returns:
- this builder
-
targetsWithIssuesCount
public CryptoAssessmentSummary.Builder targetsWithIssuesCount(Integer targetsWithIssuesCount)
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.
- Parameters:
targetsWithIssuesCount- the value to set- Returns:
- this builder
-
isAssessmentScheduled
public CryptoAssessmentSummary.Builder isAssessmentScheduled(Boolean isAssessmentScheduled)
Indicates whether scheduled execution is active for this crypto assessment.When false, the schedule value is retained but scheduled execution is paused.
- Parameters:
isAssessmentScheduled- the value to set- Returns:
- this builder
-
freeformTags
public CryptoAssessmentSummary.Builder freeformTags(Map<String,String> freeformTags)
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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CryptoAssessmentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public CryptoAssessmentSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
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”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public CryptoAssessmentSummary build()
-
copy
public CryptoAssessmentSummary.Builder copy(CryptoAssessmentSummary model)
-
-