Class UpdateMaintenanceWindowDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateMaintenanceWindowDetails.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Example: My new resource

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public UpdateMaintenanceWindowDetails.Builder description​(String description)
        A user-friendly description.

        To provide some insight about the resource. Avoid entering confidential information.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • isOutage

        public UpdateMaintenanceWindowDetails.Builder isOutage​(Boolean isOutage)
        Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime.

        It means a period when the application is not accessible.

        Parameters:
        isOutage - the value to set
        Returns:
        this builder
      • timeScheduleStart

        public UpdateMaintenanceWindowDetails.Builder timeScheduleStart​(Date timeScheduleStart)
        Specify the date and time of the day that the maintenance window starts.
        Parameters:
        timeScheduleStart - the value to set
        Returns:
        this builder
      • duration

        public UpdateMaintenanceWindowDetails.Builder duration​(String duration)
        Duration of the maintenance window.

        Specify how long the maintenance window remains open.

        Parameters:
        duration - the value to set
        Returns:
        this builder
      • recurrences

        public UpdateMaintenanceWindowDetails.Builder recurrences​(String recurrences)
        Recurrence rule specification if maintenance window recurring.

        Specify the frequency of running the maintenance window.

        Parameters:
        recurrences - the value to set
        Returns:
        this builder
      • taskInitiationCutoff

        public UpdateMaintenanceWindowDetails.Builder taskInitiationCutoff​(Integer taskInitiationCutoff)
        Task initiation cutoff time for the maintenance window.
        Parameters:
        taskInitiationCutoff - the value to set
        Returns:
        this builder
      • freeformTags

        public UpdateMaintenanceWindowDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

        public UpdateMaintenanceWindowDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder