Interface DocumentInfo.Builder

  • Method Details

    • s3Location

      DocumentInfo.Builder s3Location(String s3Location)

      The Amazon S3 location of the document.

      Parameters:
      s3Location - The Amazon S3 location of the document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifactId

      DocumentInfo.Builder artifactId(String artifactId)

      The unique identifier of the artifact associated with the document.

      Parameters:
      artifactId - The unique identifier of the artifact associated with the document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integratedDocument

      DocumentInfo.Builder integratedDocument(IntegratedDocument integratedDocument)

      A reference to a document in an integrated third-party provider.

      Parameters:
      integratedDocument - A reference to a document in an integrated third-party provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integratedDocument

      default DocumentInfo.Builder integratedDocument(Consumer<IntegratedDocument.Builder> integratedDocument)

      A reference to a document in an integrated third-party provider.

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

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

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