Interface GetAgentVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<GetAgentVersionResponse.Builder,,GetAgentVersionResponse> SdkBuilder<GetAgentVersionResponse.Builder,,GetAgentVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAgentVersionResponse
@Mutable
@NotThreadSafe
public static interface GetAgentVersionResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<GetAgentVersionResponse.Builder,GetAgentVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAgentVersionResponse.BuilderagentVersion(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, 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
-
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.Builderavoiding the need to create one manually viaAgentVersion.builder().When the
Consumercompletes,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:
-