Class NewsReportSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public NewsReportSummary.Builder description​(String description)
        The description of the news report.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public NewsReportSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • freeformTags

        public NewsReportSummary.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 NewsReportSummary.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
      • systemTags

        public NewsReportSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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

        public NewsReportSummary.Builder timeCreated​(Date timeCreated)
        The time the the news report was first enabled.

        An RFC3339 formatted datetime string.

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

        public NewsReportSummary.Builder timeUpdated​(Date timeUpdated)
        The time the news report was updated.

        An RFC3339 formatted datetime string.

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

        public NewsReportSummary.Builder lifecycleState​(LifecycleState lifecycleState)
        The current state of the news report.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public NewsReportSummary.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in Failed state.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • dayOfWeek

        public NewsReportSummary.Builder dayOfWeek​(DayOfWeek dayOfWeek)
        Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
        Parameters:
        dayOfWeek - the value to set
        Returns:
        this builder
      • areChildCompartmentsIncluded

        public NewsReportSummary.Builder areChildCompartmentsIncluded​(Boolean areChildCompartmentsIncluded)
        A flag to consider the resources within a given compartment and all sub-compartments.
        Parameters:
        areChildCompartmentsIncluded - the value to set
        Returns:
        this builder
      • tagFilters

        public NewsReportSummary.Builder tagFilters​(List<String> tagFilters)
        List of tag filters; each filter composed by a namespace, key, and value.

        Example for defined tags - ‘.=’. Example for freeform tags - ‘=’.

        Parameters:
        tagFilters - the value to set
        Returns:
        this builder
      • matchRule

        public NewsReportSummary.Builder matchRule​(MatchRule matchRule)
        Match rule used for tag filters.
        Parameters:
        matchRule - the value to set
        Returns:
        this builder