Interface AnalysisError.Builder

  • Method Details

    • type

      The type of the analysis error.

      Parameters:
      type - The type of the analysis error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the analysis error.

      Parameters:
      type - The type of the analysis error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      AnalysisError.Builder message(String message)

      The message associated with the analysis error.

      Parameters:
      message - The message associated with the analysis error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violatedEntities

      AnalysisError.Builder violatedEntities(Collection<Entity> violatedEntities)

      Lists the violated entities that caused the analysis error

      Parameters:
      violatedEntities - Lists the violated entities that caused the analysis error
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violatedEntities

      AnalysisError.Builder violatedEntities(Entity... violatedEntities)

      Lists the violated entities that caused the analysis error

      Parameters:
      violatedEntities - Lists the violated entities that caused the analysis error
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violatedEntities

      AnalysisError.Builder violatedEntities(Consumer<Entity.Builder>... violatedEntities)

      Lists the violated entities that caused the analysis error

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

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

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