Class CreateReplicaDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dbSystemId

        public CreateReplicaDetails.Builder dbSystemId​(String dbSystemId)
        The OCID of the DB System the read replica is associated with.
        Parameters:
        dbSystemId - the value to set
        Returns:
        this builder
      • displayName

        public CreateReplicaDetails.Builder displayName​(String displayName)
        The user-friendly name for the read replica.

        It does not have to be unique.

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

        public CreateReplicaDetails.Builder description​(String description)
        User provided description of the read replica.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • freeformTags

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

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

        public CreateReplicaDetails.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
      • isDeleteProtected

        public CreateReplicaDetails.Builder isDeleteProtected​(Boolean isDeleteProtected)
        Specifies whether the read replica can be deleted.

        Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.

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