Class ChildDatabase.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public ChildDatabase.Builder name​(String name)
        The name of the Managed Database.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • compartmentId

        public ChildDatabase.Builder compartmentId​(String compartmentId)
        The OCID of the compartment in which the Managed Database resides.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • deploymentType

        public ChildDatabase.Builder deploymentType​(DeploymentType deploymentType)
        The infrastructure used to deploy the Oracle Database.
        Parameters:
        deploymentType - the value to set
        Returns:
        this builder
      • workloadType

        public ChildDatabase.Builder workloadType​(WorkloadType workloadType)
        The workload type of the Autonomous Database.
        Parameters:
        workloadType - the value to set
        Returns:
        this builder
      • databaseType

        public ChildDatabase.Builder databaseType​(DatabaseType databaseType)
        The type of Oracle Database installation.
        Parameters:
        databaseType - the value to set
        Returns:
        this builder
      • databaseSubType

        public ChildDatabase.Builder databaseSubType​(DatabaseSubType databaseSubType)
        The subtype of the Oracle Database.

        Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.

        Parameters:
        databaseSubType - the value to set
        Returns:
        this builder
      • timeAdded

        public ChildDatabase.Builder timeAdded​(Date timeAdded)
        The date and time the Managed Database was added to the group.
        Parameters:
        timeAdded - the value to set
        Returns:
        this builder
      • freeformTags

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