Class UpdateCryptoAssessmentDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • schedule

        public UpdateCryptoAssessmentDetails.Builder schedule​(String schedule)
        Updates the schedule associated with this latest crypto assessment.

        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. Schedule updates are supported only for assessments of type LATEST.

        Parameters:
        schedule - the value to set
        Returns:
        this builder
      • isAssessmentScheduled

        public UpdateCryptoAssessmentDetails.Builder isAssessmentScheduled​(Boolean isAssessmentScheduled)
        Indicates whether scheduled execution is active for this latest crypto assessment.

        When set to true, the existing schedule is used unless a new schedule is provided. When set to false, the schedule value is retained but scheduled execution is paused. Schedule state updates are supported only for assessments of type LATEST.

        Parameters:
        isAssessmentScheduled - the value to set
        Returns:
        this builder
      • freeformTags

        public UpdateCryptoAssessmentDetails.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 UpdateCryptoAssessmentDetails.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