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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInvocationStep.builder().When the
Consumercompletes,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:
-