Interface UpdateAgentAliasResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<UpdateAgentAliasResponse.Builder,UpdateAgentAliasResponse>,SdkBuilder<UpdateAgentAliasResponse.Builder,UpdateAgentAliasResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateAgentAliasResponse
public static interface UpdateAgentAliasResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateAgentAliasResponse.Builder,UpdateAgentAliasResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateAgentAliasResponse.BuilderagentAlias(Consumer<AgentAlias.Builder> agentAlias)Sets the value of the AgentAlias property for this object.UpdateAgentAliasResponse.BuilderagentAlias(AgentAlias agentAlias)Sets the value of the AgentAlias property for this object.-
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 Detail
-
agentAlias
UpdateAgentAliasResponse.Builder agentAlias(AgentAlias agentAlias)
Sets the value of the AgentAlias property for this object.- Parameters:
agentAlias- The new value for the AgentAlias property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAlias
default UpdateAgentAliasResponse.Builder agentAlias(Consumer<AgentAlias.Builder> agentAlias)
Sets the value of the AgentAlias property for this object. 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:
agentAlias(AgentAlias)
-
-