Interface GetAsyncInvokeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockRuntimeResponse.Builder
,Buildable
,CopyableBuilder<GetAsyncInvokeResponse.Builder,
,GetAsyncInvokeResponse> SdkBuilder<GetAsyncInvokeResponse.Builder,
,GetAsyncInvokeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAsyncInvokeResponse
@Mutable
@NotThreadSafe
public static interface GetAsyncInvokeResponse.Builder
extends BedrockRuntimeResponse.Builder, SdkPojo, CopyableBuilder<GetAsyncInvokeResponse.Builder,GetAsyncInvokeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) The invocation's idempotency token.When the invocation ended.failureMessage
(String failureMessage) An error message.invocationArn
(String invocationArn) The invocation's ARN.lastModifiedTime
(Instant lastModifiedTime) The invocation's last modified time.The invocation's model ARN.default GetAsyncInvokeResponse.Builder
outputDataConfig
(Consumer<AsyncInvokeOutputDataConfig.Builder> outputDataConfig) Output data settings.outputDataConfig
(AsyncInvokeOutputDataConfig outputDataConfig) Output data settings.The invocation's status.status
(AsyncInvokeStatus status) The invocation's status.submitTime
(Instant submitTime) When the invocation request was submitted.Methods inherited from interface software.amazon.awssdk.services.bedrockruntime.model.BedrockRuntimeResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
invocationArn
The invocation's ARN.
- Parameters:
invocationArn
- The invocation's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
The invocation's model ARN.
- Parameters:
modelArn
- The invocation's model ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
The invocation's idempotency token.
- Parameters:
clientRequestToken
- The invocation's idempotency token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The invocation's status.
- Parameters:
status
- The invocation's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The invocation's status.
- Parameters:
status
- The invocation's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
An error message.
- Parameters:
failureMessage
- An error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submitTime
When the invocation request was submitted.
- Parameters:
submitTime
- When the invocation request was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The invocation's last modified time.
- Parameters:
lastModifiedTime
- The invocation's last modified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
When the invocation ended.
- Parameters:
endTime
- When the invocation ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
Output data settings.
- Parameters:
outputDataConfig
- Output data settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default GetAsyncInvokeResponse.Builder outputDataConfig(Consumer<AsyncInvokeOutputDataConfig.Builder> outputDataConfig) Output data settings.
This is a convenience method that creates an instance of theAsyncInvokeOutputDataConfig.Builder
avoiding the need to create one manually viaAsyncInvokeOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(AsyncInvokeOutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onAsyncInvokeOutputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-