Interface ExtractionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExtractionConfiguration.Builder,,ExtractionConfiguration> SdkBuilder<ExtractionConfiguration.Builder,,ExtractionConfiguration> SdkPojo
- Enclosing class:
ExtractionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExtractionConfiguration.BuilderboundingBox(Consumer<BoundingBoxConfiguration.Builder> boundingBox) Controls whether bounding box geometry is included in the extraction output.boundingBox(BoundingBoxConfiguration boundingBox) Controls whether bounding box geometry is included in the extraction output.default ExtractionConfiguration.Buildergranularity(Consumer<ExtractionGranularity.Builder> granularity) Controls the granularity levels at which content is extracted.granularity(ExtractionGranularity granularity) Controls the granularity levels at which content is extracted.default ExtractionConfiguration.BuilderoutputFormat(Consumer<OutputFormat.Builder> outputFormat) Controls the format of the extraction output.outputFormat(OutputFormat outputFormat) Controls the format of the extraction output.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
-
boundingBox
Controls whether bounding box geometry is included in the extraction output.
- Parameters:
boundingBox- Controls whether bounding box geometry is included in the extraction output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
default ExtractionConfiguration.Builder boundingBox(Consumer<BoundingBoxConfiguration.Builder> boundingBox) Controls whether bounding box geometry is included in the extraction output.
This is a convenience method that creates an instance of theBoundingBoxConfiguration.Builderavoiding the need to create one manually viaBoundingBoxConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toboundingBox(BoundingBoxConfiguration).- Parameters:
boundingBox- a consumer that will call methods onBoundingBoxConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
Controls the granularity levels at which content is extracted.
- Parameters:
granularity- Controls the granularity levels at which content is extracted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
granularity
default ExtractionConfiguration.Builder granularity(Consumer<ExtractionGranularity.Builder> granularity) Controls the granularity levels at which content is extracted.
This is a convenience method that creates an instance of theExtractionGranularity.Builderavoiding the need to create one manually viaExtractionGranularity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togranularity(ExtractionGranularity).- Parameters:
granularity- a consumer that will call methods onExtractionGranularity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFormat
Controls the format of the extraction output.
- Parameters:
outputFormat- Controls the format of the extraction output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFormat
Controls the format of the extraction output.
This is a convenience method that creates an instance of theOutputFormat.Builderavoiding the need to create one manually viaOutputFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputFormat(OutputFormat).- Parameters:
outputFormat- a consumer that will call methods onOutputFormat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-