Interface GetAgentVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<GetAgentVersionResponse.Builder,
,GetAgentVersionResponse> SdkBuilder<GetAgentVersionResponse.Builder,
,GetAgentVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAgentVersionResponse
public static interface GetAgentVersionResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<GetAgentVersionResponse.Builder,GetAgentVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAgentVersionResponse.Builder
agentVersion
(Consumer<AgentVersion.Builder> agentVersion) Contains details about the version of the agent.agentVersion
(AgentVersion agentVersion) Contains details about the version of the agent.Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agentVersion
Contains details about the version of the agent.
- Parameters:
agentVersion
- Contains details about the version of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
Contains details about the version of the agent.
This is a convenience method that creates an instance of theAgentVersion.Builder
avoiding the need to create one manually viaAgentVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentVersion(AgentVersion)
.- Parameters:
agentVersion
- a consumer that will call methods onAgentVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-