Interface ExpenseDetection.Builder

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

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

    • text

      The word or line of text recognized by Amazon Textract

      Parameters:
      text - The word or line of text recognized by Amazon Textract
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometry

      ExpenseDetection.Builder geometry(Geometry geometry)
      Sets the value of the Geometry property for this object.
      Parameters:
      geometry - The new value for the Geometry property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometry

      default ExpenseDetection.Builder geometry(Consumer<Geometry.Builder> geometry)
      Sets the value of the Geometry property for this object. This is a convenience method that creates an instance of the Geometry.Builder avoiding the need to create one manually via Geometry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to geometry(Geometry).

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

      ExpenseDetection.Builder confidence(Float confidence)

      The confidence in detection, as a percentage

      Parameters:
      confidence - The confidence in detection, as a percentage
      Returns:
      Returns a reference to this object so that method calls can be chained together.