Class ReplicationConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • replicationTargets

        public ReplicationConfig.Builder replicationTargets​(List<ReplicationTarget> replicationTargets)
        List of the secret replication targets.

        By default, a maximum of 3 targets is allowed. To configure more than 3 targets, an override is required.

        Parameters:
        replicationTargets - the value to set
        Returns:
        this builder
      • isWriteForwardEnabled

        public ReplicationConfig.Builder isWriteForwardEnabled​(Boolean isWriteForwardEnabled)
        (Optional) A Boolean value to enable forwarding of write requests from replicated secrets to the source secrets.

        The default value of false disables this option.

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