Interface GetAgentAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<GetAgentAliasResponse.Builder,,GetAgentAliasResponse> SdkBuilder<GetAgentAliasResponse.Builder,,GetAgentAliasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAgentAliasResponse
@Mutable
@NotThreadSafe
public static interface GetAgentAliasResponse.Builder
extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<GetAgentAliasResponse.Builder,GetAgentAliasResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAgentAliasResponse.BuilderagentAlias(Consumer<AgentAlias.Builder> agentAlias) Contains information about the alias.agentAlias(AgentAlias agentAlias) Contains information about the alias.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 information about the alias.
- Parameters:
agentAlias- Contains information about the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAlias
Contains information about the alias.
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:
-