Class UpdateReplicaDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public UpdateReplicaDetails.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 UpdateReplicaDetails.Builder description​(String description)
        User provided description of the read replica.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • freeformTags

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