Interface CustomConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomConfiguration.Builder,,CustomConfiguration> SdkBuilder<CustomConfiguration.Builder,,CustomConfiguration> SdkPojo
- Enclosing class:
CustomConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionblueprints(Collection<BlueprintItem> blueprints) The blueprints used to extract custom structured output.blueprints(Consumer<BlueprintItem.Builder>... blueprints) The blueprints used to extract custom structured output.blueprints(BlueprintItem... blueprints) The blueprints used to extract custom structured output.fallbackBlueprints(Collection<BlueprintItem> fallbackBlueprints) The blueprint used when a document does not match any of the primary blueprints.fallbackBlueprints(Consumer<BlueprintItem.Builder>... fallbackBlueprints) The blueprint used when a document does not match any of the primary blueprints.fallbackBlueprints(BlueprintItem... fallbackBlueprints) The blueprint used when a document does not match any of the primary blueprints.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
-
blueprints
The blueprints used to extract custom structured output.
- Parameters:
blueprints- The blueprints used to extract custom structured output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprints
The blueprints used to extract custom structured output.
- Parameters:
blueprints- The blueprints used to extract custom structured output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprints
The blueprints used to extract custom structured output.
This is a convenience method that creates an instance of theBlueprintItem.Builderavoiding the need to create one manually viaBlueprintItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblueprints(List<BlueprintItem>).- Parameters:
blueprints- a consumer that will call methods onBlueprintItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fallbackBlueprints
The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint in
Blueprints.- Parameters:
fallbackBlueprints- The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint inBlueprints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fallbackBlueprints
The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint in
Blueprints.- Parameters:
fallbackBlueprints- The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint inBlueprints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fallbackBlueprints
CustomConfiguration.Builder fallbackBlueprints(Consumer<BlueprintItem.Builder>... fallbackBlueprints) The blueprint used when a document does not match any of the primary blueprints. Requires at least one blueprint in
This is a convenience method that creates an instance of theBlueprints.BlueprintItem.Builderavoiding the need to create one manually viaBlueprintItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofallbackBlueprints(List<BlueprintItem>).- Parameters:
fallbackBlueprints- a consumer that will call methods onBlueprintItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-