Class UpdateSecurityAssessmentDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isAssessmentScheduled

        public UpdateSecurityAssessmentDetails.Builder isAssessmentScheduled​(Boolean isAssessmentScheduled)
        Indicates whether the assessment is scheduled to run.
        Parameters:
        isAssessmentScheduled - the value to set
        Returns:
        this builder
      • schedule

        public UpdateSecurityAssessmentDetails.Builder schedule​(String schedule)
        This is applicable only for save schedule and latest assessment.

        It updates the existing schedule in a specified format: ;

        Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is '*'. When not, day of week must equal the given value can be either '*' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is '*'. When not, day of month must equal the given value

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

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