Class BedrockInvokeModelInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModelInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BedrockInvokeModelInputProps>
- Enclosing interface:
BedrockInvokeModelInputProps
@Stability(Stable)
public static final class BedrockInvokeModelInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<BedrockInvokeModelInputProps>
A builder for
BedrockInvokeModelInputProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3InputUri
(String s3InputUri) Sets the value ofBedrockInvokeModelInputProps.getS3InputUri()
s3Location
(Location s3Location) Sets the value ofBedrockInvokeModelInputProps.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3InputUri
Sets the value ofBedrockInvokeModelInputProps.getS3InputUri()
- Parameters:
s3InputUri
- The source location where the API response is written. This field can be used to specify s3 URI in the form of token- Returns:
this
-
s3Location
Sets the value ofBedrockInvokeModelInputProps.getS3Location()
- Parameters:
s3Location
- S3 object to retrieve the input data from. If the S3 location is not set, then the Body must be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BedrockInvokeModelInputProps>
- Returns:
- a new instance of
BedrockInvokeModelInputProps
- Throws:
NullPointerException
- if any required attribute was not provided
-