Class DbHome.Builder

  • Enclosing class:
    DbHome

    public static class DbHome.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public DbHome.Builder id​(String id)
        The OCID of the Database Home.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

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

        public DbHome.Builder displayName​(String displayName)
        The user-provided name for the Database Home.

        The name does not need to be unique.

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

        public DbHome.Builder lastPatchHistoryEntryId​(String lastPatchHistoryEntryId)
        The OCID of the last patch history.

        This value is updated as soon as a patch operation is started.

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

        public DbHome.Builder lifecycleState​(DbHome.LifecycleState lifecycleState)
        The current state of the Database Home.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • dbSystemId

        public DbHome.Builder dbSystemId​(String dbSystemId)
        The OCID of the DB system.
        Parameters:
        dbSystemId - the value to set
        Returns:
        this builder
      • vmClusterId

        public DbHome.Builder vmClusterId​(String vmClusterId)
        The OCID of the VM cluster.
        Parameters:
        vmClusterId - the value to set
        Returns:
        this builder
      • dbVersion

        public DbHome.Builder dbVersion​(String dbVersion)
        The Oracle Database version.
        Parameters:
        dbVersion - the value to set
        Returns:
        this builder
      • dbHomeLocation

        public DbHome.Builder dbHomeLocation​(String dbHomeLocation)
        The location of the Oracle Database Home.
        Parameters:
        dbHomeLocation - the value to set
        Returns:
        this builder
      • lifecycleDetails

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

        public DbHome.Builder timeCreated​(Date timeCreated)
        The date and time the Database Home was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • kmsKeyId

        public DbHome.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • oneOffPatches

        public DbHome.Builder oneOffPatches​(List<String> oneOffPatches)
        List of one-off patches for Database Homes.
        Parameters:
        oneOffPatches - the value to set
        Returns:
        this builder
      • freeformTags

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

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

        public DbHome.Builder databaseSoftwareImageId​(String databaseSoftwareImageId)
        The database software image OCID
        Parameters:
        databaseSoftwareImageId - the value to set
        Returns:
        this builder
      • isUnifiedAuditingEnabled

        public DbHome.Builder isUnifiedAuditingEnabled​(Boolean isUnifiedAuditingEnabled)
        Indicates whether unified autiding is enabled or not.
        Parameters:
        isUnifiedAuditingEnabled - the value to set
        Returns:
        this builder
      • build

        public DbHome build()