Interface TrustManifest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrustManifest.Builder,,TrustManifest> SdkBuilder<TrustManifest.Builder,,TrustManifest> SdkPojo
- Enclosing class:
TrustManifest
@Mutable
@NotThreadSafe
public static interface TrustManifest.Builder
extends SdkPojo, CopyableBuilder<TrustManifest.Builder,TrustManifest>
-
Method Summary
Modifier and TypeMethodDescriptioncontributor(String contributor) Absolute URI of the contributor these claims are attributed to.provenance(Collection<ProvenanceLink> provenance) The record's lineage as the contributor states it: how the contributor got the record, and from which source.provenance(Consumer<ProvenanceLink.Builder>... provenance) The record's lineage as the contributor states it: how the contributor got the record, and from which source.provenance(ProvenanceLink... provenance) The record's lineage as the contributor states it: how the contributor got the record, and from which source.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
-
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
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 theProvenanceLink.Builderavoiding the need to create one manually viaProvenanceLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovenance(List<ProvenanceLink>).- Parameters:
provenance- a consumer that will call methods onProvenanceLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-