Interface DocumentMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentMetadata.Builder,
,DocumentMetadata> SdkBuilder<DocumentMetadata.Builder,
,DocumentMetadata> SdkPojo
- Enclosing class:
DocumentMetadata
-
Method Summary
Modifier and TypeMethodDescriptioninlineAttributes
(Collection<MetadataAttribute> inlineAttributes) An array of objects, each of which defines a metadata attribute to associate with the content to ingest.inlineAttributes
(Consumer<MetadataAttribute.Builder>... inlineAttributes) An array of objects, each of which defines a metadata attribute to associate with the content to ingest.inlineAttributes
(MetadataAttribute... inlineAttributes) An array of objects, each of which defines a metadata attribute to associate with the content to ingest.default DocumentMetadata.Builder
s3Location
(Consumer<CustomS3Location.Builder> s3Location) The Amazon S3 location of the file containing metadata to associate with the content to ingest.s3Location
(CustomS3Location s3Location) The Amazon S3 location of the file containing metadata to associate with the content to ingest.The type of the source source from which to add metadata.type
(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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaMetadataAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinlineAttributes(List<MetadataAttribute>)
.- 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:
-
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
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.Builder
avoiding the need to create one manually viaCustomS3Location.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-