Interface DocumentInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentInfo.Builder,,DocumentInfo> SdkBuilder<DocumentInfo.Builder,,DocumentInfo> SdkPojo
- Enclosing class:
DocumentInfo
@Mutable
@NotThreadSafe
public static interface DocumentInfo.Builder
extends SdkPojo, CopyableBuilder<DocumentInfo.Builder,DocumentInfo>
-
Method Summary
Modifier and TypeMethodDescriptionartifactId(String artifactId) The unique identifier of the artifact associated with the document.default DocumentInfo.BuilderintegratedDocument(Consumer<IntegratedDocument.Builder> integratedDocument) A reference to a document in an integrated third-party provider.integratedDocument(IntegratedDocument integratedDocument) A reference to a document in an integrated third-party provider.s3Location(String s3Location) The Amazon S3 location of the document.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
-
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
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
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 theIntegratedDocument.Builderavoiding the need to create one manually viaIntegratedDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegratedDocument(IntegratedDocument).- Parameters:
integratedDocument- a consumer that will call methods onIntegratedDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-