Interface CreateAgentAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentResponse.Builder
,Buildable
,CopyableBuilder<CreateAgentAliasResponse.Builder,
,CreateAgentAliasResponse> SdkBuilder<CreateAgentAliasResponse.Builder,
,CreateAgentAliasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAgentAliasResponse
public static interface CreateAgentAliasResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<CreateAgentAliasResponse.Builder,CreateAgentAliasResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAgentAliasResponse.Builder
agentAlias
(Consumer<AgentAlias.Builder> agentAlias) Contains details about the alias that was created.agentAlias
(AgentAlias agentAlias) Contains details about the alias that was created.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
-
agentAlias
Contains details about the alias that was created.
- Parameters:
agentAlias
- Contains details about the alias that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAlias
Contains details about the alias that was created.
This is a convenience method that creates an instance of theAgentAlias.Builder
avoiding the need to create one manually viaAgentAlias.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentAlias(AgentAlias)
.- Parameters:
agentAlias
- a consumer that will call methods onAgentAlias.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-