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
-
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 Detail
-
invocationArn
GetAsyncInvokeResponse.Builder invocationArn(String 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
GetAsyncInvokeResponse.Builder modelArn(String 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
GetAsyncInvokeResponse.Builder clientRequestToken(String 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
GetAsyncInvokeResponse.Builder status(String 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:
AsyncInvokeStatus,AsyncInvokeStatus
-
status
GetAsyncInvokeResponse.Builder status(AsyncInvokeStatus 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:
AsyncInvokeStatus,AsyncInvokeStatus
-
failureMessage
GetAsyncInvokeResponse.Builder failureMessage(String 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
GetAsyncInvokeResponse.Builder submitTime(Instant 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
GetAsyncInvokeResponse.Builder lastModifiedTime(Instant 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
GetAsyncInvokeResponse.Builder endTime(Instant 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
GetAsyncInvokeResponse.Builder outputDataConfig(AsyncInvokeOutputDataConfig 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.Builderavoiding the need to create one manually viaAsyncInvokeOutputDataConfig.builder().When the
Consumercompletes,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:
outputDataConfig(AsyncInvokeOutputDataConfig)
-
-