Interface DiscoveryIssue.Builder

  • Enclosing interface:
    DiscoveryIssue

    public static interface DiscoveryIssue.Builder
    Builder for creating a DiscoveryIssue.
    • Method Detail

      • cause

        default DiscoveryIssue.Builder cause​(java.util.Optional<java.lang.Throwable> cause)
        Set the Throwable that caused the DiscoveryIssue.
        Parameters:
        cause - the Throwable that caused the DiscoveryIssue; never null but potentially empty
      • cause

        DiscoveryIssue.Builder cause​(java.lang.Throwable cause)
        Set the Throwable that caused the DiscoveryIssue.
        Parameters:
        cause - the Throwable that caused the DiscoveryIssue; may be null