Interface GuardrailConverseImageBlock.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailConverseImageBlock.Builder,GuardrailConverseImageBlock>,SdkBuilder<GuardrailConverseImageBlock.Builder,GuardrailConverseImageBlock>,SdkPojo
- Enclosing class:
- GuardrailConverseImageBlock
@Mutable @NotThreadSafe public static interface GuardrailConverseImageBlock.Builder extends SdkPojo, CopyableBuilder<GuardrailConverseImageBlock.Builder,GuardrailConverseImageBlock>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GuardrailConverseImageBlock.Builderformat(String format)The format details for the image type of the guardrail converse image block.GuardrailConverseImageBlock.Builderformat(GuardrailConverseImageFormat format)The format details for the image type of the guardrail converse image block.default GuardrailConverseImageBlock.Buildersource(Consumer<GuardrailConverseImageSource.Builder> source)The image source (image bytes) of the guardrail converse image block.GuardrailConverseImageBlock.Buildersource(GuardrailConverseImageSource source)The image source (image bytes) of the guardrail converse image block.-
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
-
format
GuardrailConverseImageBlock.Builder format(String format)
The format details for the image type of the guardrail converse image block.
- Parameters:
format- The format details for the image type of the guardrail converse image block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailConverseImageFormat,GuardrailConverseImageFormat
-
format
GuardrailConverseImageBlock.Builder format(GuardrailConverseImageFormat format)
The format details for the image type of the guardrail converse image block.
- Parameters:
format- The format details for the image type of the guardrail converse image block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailConverseImageFormat,GuardrailConverseImageFormat
-
source
GuardrailConverseImageBlock.Builder source(GuardrailConverseImageSource source)
The image source (image bytes) of the guardrail converse image block.
- Parameters:
source- The image source (image bytes) of the guardrail converse image block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default GuardrailConverseImageBlock.Builder source(Consumer<GuardrailConverseImageSource.Builder> source)
The image source (image bytes) of the guardrail converse image block.
This is a convenience method that creates an instance of theGuardrailConverseImageSource.Builderavoiding the need to create one manually viaGuardrailConverseImageSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(GuardrailConverseImageSource).- Parameters:
source- a consumer that will call methods onGuardrailConverseImageSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(GuardrailConverseImageSource)
-
-