Class BedrockInvokeModelOutputProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModelOutputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BedrockInvokeModelOutputProps>
- Enclosing interface:
BedrockInvokeModelOutputProps
@Stability(Stable)
public static final class BedrockInvokeModelOutputProps.Builder
extends Object
implements software.amazon.jsii.Builder<BedrockInvokeModelOutputProps>
A builder for
BedrockInvokeModelOutputProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Location
(Location s3Location) Sets the value ofBedrockInvokeModelOutputProps.getS3Location()
s3OutputUri
(String s3OutputUri) Sets the value ofBedrockInvokeModelOutputProps.getS3OutputUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Location
Sets the value ofBedrockInvokeModelOutputProps.getS3Location()
- Parameters:
s3Location
- S3 object where the Bedrock InvokeModel API response is written. If you specify this field, the API response body is replaced with a reference to the Amazon S3 location of the original output.- Returns:
this
-
s3OutputUri
Sets the value ofBedrockInvokeModelOutputProps.getS3OutputUri()
- Parameters:
s3OutputUri
- The destination location where the API response is written. This field can be used to specify s3 URI in the form of token- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BedrockInvokeModelOutputProps>
- Returns:
- a new instance of
BedrockInvokeModelOutputProps
- Throws:
NullPointerException
- if any required attribute was not provided
-