Class DataSource.Builder

  • Enclosing class:
    DataSource

    public static class DataSource.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public DataSource.Builder id​(String id)
        OCID for the data source
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public DataSource.Builder displayName​(String displayName)
        Display name of the data source
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • dataSourceFeedProvider

        public DataSource.Builder dataSourceFeedProvider​(DataSourceFeedProvider dataSourceFeedProvider)
        Possible type of dataSourceFeed Provider(LoggingQuery)
        Parameters:
        dataSourceFeedProvider - the value to set
        Returns:
        this builder
      • compartmentId

        public DataSource.Builder compartmentId​(String compartmentId)
        Compartment OCID of data source
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public DataSource.Builder timeCreated​(Date timeCreated)
        The date and time the Data source was created.

        Format defined by RFC3339.

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

        public DataSource.Builder timeUpdated​(Date timeUpdated)
        The date and time the data source was updated.

        Format defined by RFC3339.

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

        public DataSource.Builder dataSourceDetectorMappingInfo​(List<DataSourceMappingInfo> dataSourceDetectorMappingInfo)
        Information about the detector recipe and rule attached
        Parameters:
        dataSourceDetectorMappingInfo - the value to set
        Returns:
        this builder
      • regionStatusDetail

        public DataSource.Builder regionStatusDetail​(List<RegionStatusDetail> regionStatusDetail)
        Information about the region and status of query replication
        Parameters:
        regionStatusDetail - the value to set
        Returns:
        this builder
      • lifecycleState

        public DataSource.Builder lifecycleState​(LifecycleState lifecycleState)
        The current lifecycle state of the resource.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • freeformTags

        public DataSource.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”}

        Avoid entering confidential information.

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

        public DataSource.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 DataSource.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. System tags can be viewed by users, but can only be created by the system.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

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