Class ScheduleSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ScheduleSummary.Builder displayName​(String displayName)
        The name of the schedule.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public ScheduleSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the schedule.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • projectId

        public ScheduleSummary.Builder projectId​(String projectId)
        The OCID of the project associated with the schedule.
        Parameters:
        projectId - the value to set
        Returns:
        this builder
      • timeCreated

        public ScheduleSummary.Builder timeCreated​(Date timeCreated)
        The date and time the schedule was created.

        Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ScheduleSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the schedule was updated.

        Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • createdBy

        public ScheduleSummary.Builder createdBy​(String createdBy)
        The OCID of the user who created the schedule.
        Parameters:
        createdBy - the value to set
        Returns:
        this builder
      • lifecycleState

        public ScheduleSummary.Builder lifecycleState​(ScheduleLifecycleState lifecycleState)
        The current state of the schedule.

        Example: ACTIVE

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

        public ScheduleSummary.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. See Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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

        public ScheduleSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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