Class ExternalDbSystem.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public ExternalDbSystem.Builder displayName​(String displayName)
        The user-friendly name for the DB system.

        The name does not have to be unique.

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

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

        public ExternalDbSystem.Builder dbSystemDiscoveryId​(String dbSystemDiscoveryId)
        The OCID of the DB system discovery.
        Parameters:
        dbSystemDiscoveryId - the value to set
        Returns:
        this builder
      • discoveryAgentId

        public ExternalDbSystem.Builder discoveryAgentId​(String discoveryAgentId)
        The OCID of the management agent used during the discovery of the DB system.
        Parameters:
        discoveryAgentId - the value to set
        Returns:
        this builder
      • isCluster

        public ExternalDbSystem.Builder isCluster​(Boolean isCluster)
        Indicates whether the DB system is a cluster DB system or not.
        Parameters:
        isCluster - the value to set
        Returns:
        this builder
      • homeDirectory

        public ExternalDbSystem.Builder homeDirectory​(String homeDirectory)
        The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
        Parameters:
        homeDirectory - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ExternalDbSystem.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public ExternalDbSystem.Builder timeCreated​(Date timeCreated)
        The date and time the external DB system was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ExternalDbSystem.Builder timeUpdated​(Date timeUpdated)
        The date and time the external DB system was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • freeformTags

        public ExternalDbSystem.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 ExternalDbSystem.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 ExternalDbSystem.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