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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAgentAliasResponse.BuilderagentAlias(Consumer<AgentAlias.Builder> agentAlias)Sets the value of the AgentAlias property for this object.CreateAgentAliasResponse.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
CreateAgentAliasResponse.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 CreateAgentAliasResponse.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)
-
-