Class TargetDatabaseGroup.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public TargetDatabaseGroup.Builder compartmentId​(String compartmentId)
        The OCID for the compartment containing the target database group.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public TargetDatabaseGroup.Builder displayName​(String displayName)
        The name of the target database group.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public TargetDatabaseGroup.Builder description​(String description)
        Description of the target database group.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public TargetDatabaseGroup.Builder lifecycleDetails​(String lifecycleDetails)
        Details for the lifecycle status of the target database group.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public TargetDatabaseGroup.Builder timeCreated​(Date timeCreated)
        Time when the target database group was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public TargetDatabaseGroup.Builder timeUpdated​(Date timeUpdated)
        Time when the target database group was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • membershipUpdateTime

        public TargetDatabaseGroup.Builder membershipUpdateTime​(Date membershipUpdateTime)
        Time when the members of the target database group were last changed, i.e.

        the list was refreshed, a target database was added or removed.

        Parameters:
        membershipUpdateTime - the value to set
        Returns:
        this builder
      • membershipCount

        public TargetDatabaseGroup.Builder membershipCount​(Integer membershipCount)
        The number of target databases in the specified target database group.
        Parameters:
        membershipCount - the value to set
        Returns:
        this builder
      • freeformTags

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