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