Interface Provenance.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Provenance.Builder,,Provenance> SdkBuilder<Provenance.Builder,,Provenance> SdkPojo
- Enclosing class:
Provenance
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Relation property for this object.relation(ProvenanceRelation relation) Sets the value of the Relation property for this object.default Provenance.BuildersourceDetails(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.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 identifier of the upstream source that the registry record was detected from.sourceType(String sourceType) The type of the upstream source that the registry record was detected from.sourceType(SourceType sourceType) The type of the upstream source that the registry record was detected from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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 theSourceDetails.Builderavoiding the need to create one manually viaSourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDetails(SourceDetails).- Parameters:
sourceDetails- a consumer that will call methods onSourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-