Class CryptoAssessmentSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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
      • 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
      • 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
      • 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