Interface BedrockSessionContentBlock.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BedrockSessionContentBlock.Builder,,- BedrockSessionContentBlock> - SdkBuilder<BedrockSessionContentBlock.Builder,,- BedrockSessionContentBlock> - SdkPojo
- Enclosing class:
- BedrockSessionContentBlock
@Mutable
@NotThreadSafe
public static interface BedrockSessionContentBlock.Builder
extends SdkPojo, CopyableBuilder<BedrockSessionContentBlock.Builder,BedrockSessionContentBlock> 
- 
Method SummaryModifier and TypeMethodDescriptionimage(Consumer<ImageBlock.Builder> image) The image in the invocation step.image(ImageBlock image) The image in the invocation step.The text in the invocation step.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
textThe text in the invocation step. - Parameters:
- text- The text in the invocation step.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageThe image in the invocation step. - Parameters:
- image- The image in the invocation step.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
imageThe image in the invocation step. This is a convenience method that creates an instance of theImageBlock.Builderavoiding the need to create one manually viaImageBlock.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimage(ImageBlock).- Parameters:
- image- a consumer that will call methods on- ImageBlock.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-