Interface DocumentMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentMetadata.Builder,DocumentMetadata>,SdkBuilder<DocumentMetadata.Builder,DocumentMetadata>,SdkPojo
- Enclosing class:
- DocumentMetadata
@Mutable @NotThreadSafe public static interface DocumentMetadata.Builder extends SdkPojo, CopyableBuilder<DocumentMetadata.Builder,DocumentMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DocumentMetadata.BuilderinlineAttributes(Collection<MetadataAttribute> inlineAttributes)An array of objects, each of which defines a metadata attribute to associate with the content to ingest.DocumentMetadata.BuilderinlineAttributes(Consumer<MetadataAttribute.Builder>... inlineAttributes)An array of objects, each of which defines a metadata attribute to associate with the content to ingest.DocumentMetadata.BuilderinlineAttributes(MetadataAttribute... inlineAttributes)An array of objects, each of which defines a metadata attribute to associate with the content to ingest.default DocumentMetadata.Builders3Location(Consumer<CustomS3Location.Builder> s3Location)The Amazon S3 location of the file containing metadata to associate with the content to ingest.DocumentMetadata.Builders3Location(CustomS3Location s3Location)The Amazon S3 location of the file containing metadata to associate with the content to ingest.DocumentMetadata.Buildertype(String type)The type of the source source from which to add metadata.DocumentMetadata.Buildertype(MetadataSourceType type)The type of the source source from which to add metadata.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
DocumentMetadata.Builder type(String type)
The type of the source source from which to add metadata.
- Parameters:
type- The type of the source source from which to add metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetadataSourceType,MetadataSourceType
-
type
DocumentMetadata.Builder type(MetadataSourceType type)
The type of the source source from which to add metadata.
- Parameters:
type- The type of the source source from which to add metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetadataSourceType,MetadataSourceType
-
inlineAttributes
DocumentMetadata.Builder inlineAttributes(Collection<MetadataAttribute> inlineAttributes)
An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.
- Parameters:
inlineAttributes- An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineAttributes
DocumentMetadata.Builder inlineAttributes(MetadataAttribute... inlineAttributes)
An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.
- Parameters:
inlineAttributes- An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineAttributes
DocumentMetadata.Builder inlineAttributes(Consumer<MetadataAttribute.Builder>... inlineAttributes)
An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.
This is a convenience method that creates an instance of theMetadataAttribute.Builderavoiding the need to create one manually viaMetadataAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inlineAttributes(List.) - Parameters:
inlineAttributes- a consumer that will call methods onMetadataAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inlineAttributes(java.util.Collection)
-
s3Location
DocumentMetadata.Builder s3Location(CustomS3Location s3Location)
The Amazon S3 location of the file containing metadata to associate with the content to ingest.
- Parameters:
s3Location- The Amazon S3 location of the file containing metadata to associate with the content to ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default DocumentMetadata.Builder s3Location(Consumer<CustomS3Location.Builder> s3Location)
The Amazon S3 location of the file containing metadata to associate with the content to ingest.
This is a convenience method that creates an instance of theCustomS3Location.Builderavoiding the need to create one manually viaCustomS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(CustomS3Location).- Parameters:
s3Location- a consumer that will call methods onCustomS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Location(CustomS3Location)
-
-