Interface ErrorRootCause.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ErrorRootCause.Builder,ErrorRootCause>, SdkBuilder<ErrorRootCause.Builder,ErrorRootCause>, SdkPojo
Enclosing class:
ErrorRootCause

public static interface ErrorRootCause.Builder extends SdkPojo, CopyableBuilder<ErrorRootCause.Builder,ErrorRootCause>
  • Method Details

    • services

      A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

      Parameters:
      services - A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • services

      A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

      Parameters:
      services - A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • services

      A list of services corresponding to an error. A service identifies a segment and it contains a name, account ID, type, and inferred flag.

      This is a convenience method that creates an instance of the ErrorRootCauseService.Builder avoiding the need to create one manually via ErrorRootCauseService.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to services(List<ErrorRootCauseService>).

      Parameters:
      services - a consumer that will call methods on ErrorRootCauseService.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientImpacting

      ErrorRootCause.Builder clientImpacting(Boolean clientImpacting)

      A flag that denotes that the root cause impacts the trace client.

      Parameters:
      clientImpacting - A flag that denotes that the root cause impacts the trace client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.