Interface CreateAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<CreateAgentResponse.Builder,,CreateAgentResponse> SdkBuilder<CreateAgentResponse.Builder,,CreateAgentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAgentResponse
public static interface CreateAgentResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<CreateAgentResponse.Builder,CreateAgentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAgentResponse.Builderagent(Consumer<Agent.Builder> agent) Contains details about the agent created.Contains details about the agent created.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
-
agent
Contains details about the agent created.
- Parameters:
agent- Contains details about the agent created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agent
Contains details about the agent created.
This is a convenience method that creates an instance of theAgent.Builderavoiding the need to create one manually viaAgent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagent(Agent).- Parameters:
agent- a consumer that will call methods onAgent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-