Interface GetInvocationStepResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentRuntimeResponse.Builder
,Buildable
,CopyableBuilder<GetInvocationStepResponse.Builder,
,GetInvocationStepResponse> SdkBuilder<GetInvocationStepResponse.Builder,
,GetInvocationStepResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetInvocationStepResponse
@Mutable
@NotThreadSafe
public static interface GetInvocationStepResponse.Builder
extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<GetInvocationStepResponse.Builder,GetInvocationStepResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvocationStep
(Consumer<InvocationStep.Builder> invocationStep) The complete details of the requested invocation step.invocationStep
(InvocationStep invocationStep) The complete details of the requested invocation step.Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeResponse.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
-
invocationStep
The complete details of the requested invocation step.
- Parameters:
invocationStep
- The complete details of the requested invocation step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationStep
default GetInvocationStepResponse.Builder invocationStep(Consumer<InvocationStep.Builder> invocationStep) The complete details of the requested invocation step.
This is a convenience method that creates an instance of theInvocationStep.Builder
avoiding the need to create one manually viaInvocationStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvocationStep(InvocationStep)
.- Parameters:
invocationStep
- a consumer that will call methods onInvocationStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-