Class Report.Builder

  • Enclosing class:
    Report

    public static class Report.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Report.Builder id​(String id)
        The OCID of the report.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public Report.Builder displayName​(String displayName)
        Name of the report.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • reportDefinitionId

        public Report.Builder reportDefinitionId​(String reportDefinitionId)
        The OCID of the report definition.
        Parameters:
        reportDefinitionId - the value to set
        Returns:
        this builder
      • description

        public Report.Builder description​(String description)
        Specifies a description of the report.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public Report.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the report.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • mimeType

        public Report.Builder mimeType​(Report.MimeType mimeType)
        Specifies the format of report to be .xls or .pdf or .json
        Parameters:
        mimeType - the value to set
        Returns:
        this builder
      • timeGenerated

        public Report.Builder timeGenerated​(Date timeGenerated)
        Specifies the date and time the report was generated.
        Parameters:
        timeGenerated - the value to set
        Returns:
        this builder
      • lifecycleState

        public Report.Builder lifecycleState​(ReportLifecycleState lifecycleState)
        The current state of the audit report.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • type

        public Report.Builder type​(ReportType type)
        The type of the audit report.
        Parameters:
        type - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public Report.Builder lifecycleDetails​(String lifecycleDetails)
        Details about the current state of the report in Data Safe.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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

        public Report build()