Interface Provenance.Builder

  • Method Details

    • relation

      Provenance.Builder relation(String relation)
      Sets the value of the Relation property for this object.
      Parameters:
      relation - The new value for the Relation property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • relation

      Sets the value of the Relation property for this object.
      Parameters:
      relation - The new value for the Relation property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceId

      Provenance.Builder sourceId(String sourceId)

      The identifier of the upstream source that the registry record was detected from.

      Parameters:
      sourceId - The identifier of the upstream source that the registry record was detected from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceType

      Provenance.Builder sourceType(String sourceType)

      The type of the upstream source that the registry record was detected from.

      Parameters:
      sourceType - The type of the upstream source that the registry record was detected from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceType

      Provenance.Builder sourceType(SourceType sourceType)

      The type of the upstream source that the registry record was detected from.

      Parameters:
      sourceType - The type of the upstream source that the registry record was detected from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceDetails

      Provenance.Builder sourceDetails(SourceDetails sourceDetails)

      Additional details about the upstream source that the registry record was detected from, such as the AgentCore Gateway or Runtime configuration. The populated member corresponds to the source type.

      Parameters:
      sourceDetails - Additional details about the upstream source that the registry record was detected from, such as the AgentCore Gateway or Runtime configuration. The populated member corresponds to the source type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceDetails

      default Provenance.Builder sourceDetails(Consumer<SourceDetails.Builder> sourceDetails)

      Additional details about the upstream source that the registry record was detected from, such as the AgentCore Gateway or Runtime configuration. The populated member corresponds to the source type.

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

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

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