Interface TrustManifest.Builder

  • Method Details

    • contributor

      TrustManifest.Builder contributor(String contributor)

      Absolute URI of the contributor these claims are attributed to.

      Parameters:
      contributor - Absolute URI of the contributor these claims are attributed to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provenance

      The record's lineage as the contributor states it: how the contributor got the record, and from which source.

      Parameters:
      provenance - The record's lineage as the contributor states it: how the contributor got the record, and from which source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provenance

      TrustManifest.Builder provenance(ProvenanceLink... provenance)

      The record's lineage as the contributor states it: how the contributor got the record, and from which source.

      Parameters:
      provenance - The record's lineage as the contributor states it: how the contributor got the record, and from which source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provenance

      The record's lineage as the contributor states it: how the contributor got the record, and from which source.

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

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

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